feat(pt): consistent fine-tuning with init-model #3803
47.36% of diff hit (within 100.00% threshold of 82.50%)
View this Pull Request on Codecov
47.36% of diff hit (within 100.00% threshold of 82.50%)
Annotations
Check warning on line 120 in deepmd/dpmodel/atomic_model/base_atomic_model.py
codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L120
Added line #L120 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 225 in deepmd/dpmodel/fitting/polarizability_fitting.py
codecov / codecov/patch
deepmd/dpmodel/fitting/polarizability_fitting.py#L225
Added line #L225 was not covered by tests
Check warning on line 223 in deepmd/pt/entrypoints/main.py
codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L221-L223
Added lines #L221 - L223 were not covered by tests
Check warning on line 441 in deepmd/pt/model/atomic_model/base_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/base_atomic_model.py#L437-L441
Added lines #L437 - L441 were not covered by tests
Check warning on line 208 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L208
Added line #L208 was not covered by tests
Check warning on line 211 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L211
Added line #L211 was not covered by tests
Check warning on line 216 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L216
Added line #L216 was not covered by tests
Check warning on line 221 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L221
Added line #L221 was 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 404 in deepmd/pt/model/descriptor/dpa1.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa1.py#L400-L404
Added lines #L400 - L404 were not covered by tests
Check warning on line 411 in deepmd/pt/model/descriptor/dpa1.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa1.py#L411
Added line #L411 was not covered by tests
Check warning on line 364 in deepmd/pt/model/descriptor/dpa2.py
codecov / codecov/patch
deepmd/pt/model/descriptor/dpa2.py#L362-L364
Added lines #L362 - L364 were not covered by tests