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: refact training code #3359
pt: refact training code #3359
Changes from 7 commits
3812866
08e18fe
ae27607
7f573ab
f9265d5
f8d2980
c9eb767
00105c7
5a9df83
75da5b1
6c171c5
2e87e1d
eb8094d
2618d98
f1585b2
463f9fb
e8575af
66d03b8
e9e0d95
90be50e
ab35653
64d6079
6020a2b
5db7883
c03a5ba
cce52da
18cbf9e
cdcfcb2
a7d44d1
fdca653
525ce93
46ee16c
9d18dc4
ad7227d
35598d2
c0a0cfc
d50e2a2
66edca5
d5a1549
c51f865
e17546a
1debf4f
db31edc
60dda49
3dfc31e
615446f
e26c118
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 92 in deepmd/dpmodel/descriptor/make_base_descriptor.py
Codecov / codecov/patch
deepmd/dpmodel/descriptor/make_base_descriptor.py#L92
Check warning on line 29 in deepmd/dpmodel/model/dp_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/dp_model.py#L29
Check warning on line 109 in deepmd/pt/entrypoints/main.py
Codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L108-L109
Check warning on line 127 in deepmd/pt/entrypoints/main.py
Codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L127
Check warning on line 163 in deepmd/pt/entrypoints/main.py
Codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L163
Check warning on line 91 in deepmd/pt/model/descriptor/descriptor.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L91
Check warning on line 151 in deepmd/pt/model/descriptor/dpa1.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa1.py#L150-L151
Check warning on line 159 in deepmd/pt/model/descriptor/dpa1.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa1.py#L157-L159
Check warning on line 163 in deepmd/pt/model/descriptor/dpa1.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa1.py#L162-L163
Check warning on line 166 in deepmd/pt/model/descriptor/dpa1.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa1.py#L166
Check warning on line 176 in deepmd/pt/model/descriptor/dpa1.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa1.py#L176
Check warning on line 295 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L294-L295
Check warning on line 304 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L301-L304
Check warning on line 307 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L307
Check warning on line 312 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L310-L312
Check warning on line 317 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L315-L317
Check warning on line 320 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L320
Check warning on line 324 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L323-L324
Check warning on line 327 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L327
Check warning on line 338 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L338
Check warning on line 344 in deepmd/pt/model/descriptor/dpa2.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L344
Check warning on line 160 in deepmd/pt/model/descriptor/hybrid.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/hybrid.py#L160
Check warning on line 168 in deepmd/pt/model/descriptor/hybrid.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/hybrid.py#L168
Check warning on line 283 in deepmd/pt/model/descriptor/repformers.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/repformers.py#L283
Check warning on line 293 in deepmd/pt/model/descriptor/repformers.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/repformers.py#L292-L293
Check warning on line 295 in deepmd/pt/model/descriptor/repformers.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/repformers.py#L295
Check warning on line 297 in deepmd/pt/model/descriptor/repformers.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/repformers.py#L297
Check warning on line 300 in deepmd/pt/model/descriptor/repformers.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/repformers.py#L299-L300
Check warning on line 133 in deepmd/pt/model/descriptor/se_a.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L132-L133
Check warning on line 140 in deepmd/pt/model/descriptor/se_a.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L139-L140
Check warning on line 143 in deepmd/pt/model/descriptor/se_a.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L143
Check warning on line 150 in deepmd/pt/model/descriptor/se_a.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L150
Check warning on line 433 in deepmd/pt/model/descriptor/se_a.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L433
Check warning on line 443 in deepmd/pt/model/descriptor/se_a.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L442-L443
Check warning on line 445 in deepmd/pt/model/descriptor/se_a.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L445
Check warning on line 447 in deepmd/pt/model/descriptor/se_a.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L447
Check warning on line 450 in deepmd/pt/model/descriptor/se_a.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L449-L450
Check warning on line 205 in deepmd/pt/model/descriptor/se_atten.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_atten.py#L205
Check warning on line 215 in deepmd/pt/model/descriptor/se_atten.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_atten.py#L214-L215
Check warning on line 217 in deepmd/pt/model/descriptor/se_atten.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_atten.py#L217
Check warning on line 219 in deepmd/pt/model/descriptor/se_atten.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_atten.py#L219
Check warning on line 222 in deepmd/pt/model/descriptor/se_atten.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_atten.py#L221-L222
Check warning on line 157 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L156-L157
Check warning on line 162 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L162
Check warning on line 164 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L164
Check warning on line 175 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L166-L175
Check warning on line 179 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L178-L179
Check warning on line 182 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L182
Check warning on line 184 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L184
Check warning on line 194 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L193-L194
Check warning on line 196 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L196
Check warning on line 198 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L198
Check warning on line 201 in deepmd/pt/model/descriptor/se_r.py
Codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L200-L201
Check warning on line 10 in deepmd/pt/model/model/dipole_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dipole_model.py#L10
Check warning on line 101 in deepmd/pt/model/model/dipole_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dipole_model.py#L99-L101
Check warning on line 119 in deepmd/pt/model/model/dipole_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dipole_model.py#L119
Check warning on line 19 in deepmd/pt/model/model/dp_zbl_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_zbl_model.py#L19
Check warning on line 110 in deepmd/pt/model/model/dp_zbl_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_zbl_model.py#L108-L110
Check warning on line 148 in deepmd/pt/model/model/dp_zbl_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_zbl_model.py#L148