Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pt: Add support for dipole and polar training #3380
pt: Add support for dipole and polar training #3380
Changes from 2 commits
e0cd84a
a8f58a7
a953f7a
6f4797b
adb2919
bf2d043
7ed81c1
cbafe00
f3c7bf2
967736a
7c1c978
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 82 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L81-L82
Check warning on line 86 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L86
Check warning on line 164 in deepmd/dpmodel/model/make_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L162-L164
Check warning on line 32 in deepmd/dpmodel/model/transform_output.py
Codecov / codecov/patch
deepmd/dpmodel/model/transform_output.py#L31-L32
Check warning on line 65 in deepmd/dpmodel/model/transform_output.py
Codecov / codecov/patch
deepmd/dpmodel/model/transform_output.py#L64-L65
Check warning on line 11 in deepmd/pt/loss/__init__.py
Codecov / codecov/patch
deepmd/pt/loss/__init__.py#L11
Check warning on line 2 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L2
Check warning on line 6 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L6
Check warning on line 8 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L8
Check warning on line 11 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L11
Check warning on line 14 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L14
Check warning on line 20 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L19-L20
Check warning on line 55 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L49-L55
Check warning on line 57 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L57
Check warning on line 62 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L60-L62
Check warning on line 66 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L66
Check warning on line 88 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L85-L88
Check warning on line 93 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L93
Check warning on line 96 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L96
Check warning on line 99 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L99
Check warning on line 110 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L102-L110
Check warning on line 115 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L115
Check warning on line 122 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L118-L122
Check warning on line 125 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L125
Check warning on line 130 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L127-L130
Check warning on line 136 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L133-L136
Check warning on line 139 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L138-L139
Check warning on line 143 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L141-L143
Check warning on line 153 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L152-L153
Check warning on line 162 in deepmd/pt/loss/tensor.py
Codecov / codecov/patch
deepmd/pt/loss/tensor.py#L162
Check warning on line 93 in deepmd/pt/model/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/base_atomic_model.py#L92-L93
Check warning on line 97 in deepmd/pt/model/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/base_atomic_model.py#L97
Check warning on line 97 in deepmd/pt/model/model/__init__.py
Codecov / codecov/patch
deepmd/pt/model/model/__init__.py#L97
Check warning on line 54 in deepmd/pt/model/model/dipole_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dipole_model.py#L53-L54
Check warning on line 67 in deepmd/pt/model/model/dp_zbl_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_zbl_model.py#L66-L67
Check warning on line 56 in deepmd/pt/model/model/ener_model.py
Codecov / codecov/patch
deepmd/pt/model/model/ener_model.py#L55-L56
Check warning on line 159 in deepmd/pt/model/model/make_model.py
Codecov / codecov/patch
deepmd/pt/model/model/make_model.py#L157-L159
Check warning on line 46 in deepmd/pt/model/model/polar_model.py
Codecov / codecov/patch
deepmd/pt/model/model/polar_model.py#L45-L46
Check warning on line 158 in deepmd/pt/model/model/transform_output.py
Codecov / codecov/patch
deepmd/pt/model/model/transform_output.py#L157-L158
Check warning on line 198 in deepmd/pt/model/model/transform_output.py
Codecov / codecov/patch
deepmd/pt/model/model/transform_output.py#L197-L198
Check warning on line 160 in deepmd/pt/model/task/dipole.py
Codecov / codecov/patch
deepmd/pt/model/task/dipole.py#L160
Check warning on line 187 in deepmd/pt/model/task/polarizability.py
Codecov / codecov/patch
deepmd/pt/model/task/polarizability.py#L187