feat(pt): consistent fine-tuning with init-model #3803
75.43% of diff hit (within 100.00% threshold of 82.63%)
View this Pull Request on Codecov
75.43% of diff hit (within 100.00% threshold of 82.63%)
Annotations
Check warning on line 123 in deepmd/dpmodel/atomic_model/base_atomic_model.py
codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L123
Added line #L123 was not covered by tests
Check warning on line 147 in deepmd/dpmodel/atomic_model/make_base_atomic_model.py
codecov / codecov/patch
deepmd/dpmodel/atomic_model/make_base_atomic_model.py#L147
Added line #L147 was not covered by tests
Check warning on line 375 in deepmd/dpmodel/descriptor/dpa1.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/dpa1.py#L375
Added line #L375 was not covered by tests
Check warning on line 550 in deepmd/dpmodel/descriptor/dpa2.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/dpa2.py#L550
Added line #L550 was not covered by tests
Check warning on line 162 in deepmd/dpmodel/descriptor/hybrid.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/hybrid.py#L162
Added line #L162 was not covered by tests
Check warning on line 117 in deepmd/dpmodel/descriptor/make_base_descriptor.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/make_base_descriptor.py#L117
Added line #L117 was not covered by tests
Check warning on line 274 in deepmd/dpmodel/descriptor/se_e2_a.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/se_e2_a.py#L274
Added line #L274 was not covered by tests
Check warning on line 230 in deepmd/dpmodel/descriptor/se_r.py
codecov / codecov/patch
deepmd/dpmodel/descriptor/se_r.py#L230
Added line #L230 was not covered by tests
Check warning on line 185 in deepmd/dpmodel/fitting/dipole_fitting.py
codecov / codecov/patch
deepmd/dpmodel/fitting/dipole_fitting.py#L185
Added line #L185 was not covered by tests
Check warning on line 280 in deepmd/dpmodel/fitting/general_fitting.py
codecov / codecov/patch
deepmd/dpmodel/fitting/general_fitting.py#L280
Added line #L280 was not covered by tests
Check warning on line 75 in deepmd/dpmodel/fitting/make_base_fitting.py
codecov / codecov/patch
deepmd/dpmodel/fitting/make_base_fitting.py#L75
Added line #L75 was not covered by tests
Check warning on line 226 in deepmd/dpmodel/fitting/polarizability_fitting.py
codecov / codecov/patch
deepmd/dpmodel/fitting/polarizability_fitting.py#L225-L226
Added lines #L225 - L226 were not covered by tests
Check warning on line 175 in deepmd/pt/model/atomic_model/linear_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/linear_atomic_model.py#L173-L175
Added lines #L173 - L175 were not covered by tests
Check warning on line 182 in deepmd/pt/model/atomic_model/linear_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/linear_atomic_model.py#L182
Added line #L182 was not covered by tests
Check warning on line 245 in deepmd/pt/model/atomic_model/pairtab_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/pairtab_atomic_model.py#L245
Added line #L245 was not covered by tests
Check warning on line 251 in deepmd/pt/model/atomic_model/pairtab_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/pairtab_atomic_model.py#L248-L251
Added lines #L248 - L251 were not covered by tests
Check warning on line 194 in deepmd/pt/model/descriptor/hybrid.py
codecov / codecov/patch
deepmd/pt/model/descriptor/hybrid.py#L192-L194
Added lines #L192 - L194 were not covered by tests
Check warning on line 201 in deepmd/pt/model/descriptor/hybrid.py
codecov / codecov/patch
deepmd/pt/model/descriptor/hybrid.py#L201
Added line #L201 was not covered by tests
Check warning on line 191 in deepmd/pt/model/descriptor/se_a.py
codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L191
Added line #L191 was not covered by tests
Check warning on line 230 in deepmd/pt/model/descriptor/se_r.py
codecov / codecov/patch
deepmd/pt/model/descriptor/se_r.py#L230
Added line #L230 was not covered by tests
Check warning on line 128 in deepmd/pt/model/task/dos.py
codecov / codecov/patch
deepmd/pt/model/task/dos.py#L123-L128
Added lines #L123 - L128 were not covered by tests
Check warning on line 208 in deepmd/pt/model/task/ener.py
codecov / codecov/patch
deepmd/pt/model/task/ener.py#L208
Added line #L208 was not covered by tests
Check warning on line 185 in deepmd/pt/model/task/polarizability.py
codecov / codecov/patch
deepmd/pt/model/task/polarizability.py#L180-L185
Added lines #L180 - L185 were not covered by tests
Check warning on line 75 in deepmd/pt/utils/finetune.py
codecov / codecov/patch
deepmd/pt/utils/finetune.py#L75
Added line #L75 was not covered by tests