Skip to content
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

keep atom types when using DP models #471

Merged
merged 1 commit into from
May 19, 2023

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented May 17, 2023

Before this PR, when using DP models to predict energies and forces, the atom types were changed in the returned system according to the type map in the model. This is not an expected behavior. The changed atom types should only be used for internal inference.

Before this PR, when using DP models to predict energies and forces, the atom types were changed according to the type map in the model. This is not an expected behavior.
@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.12 ⚠️

Comparison is base (0d2b823) 82.72% compared to head (511b384) 82.61%.

Additional details and impacted files
@@            Coverage Diff             @@
##            devel     #471      +/-   ##
==========================================
- Coverage   82.72%   82.61%   -0.12%     
==========================================
  Files          70       70              
  Lines        6322     6315       -7     
==========================================
- Hits         5230     5217      -13     
- Misses       1092     1098       +6     
Impacted Files Coverage Δ
dpdata/plugins/deepmd.py 66.40% <0.00%> (-1.08%) ⬇️

... and 8 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@wanghan-iapcm wanghan-iapcm merged commit bc72db3 into deepmodeling:devel May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants