pt: Add support for dipole and polar training#3380
Merged
iProzd merged 11 commits intodeepmodeling:develfrom Mar 3, 2024
Merged
pt: Add support for dipole and polar training#3380iProzd merged 11 commits intodeepmodeling:develfrom
iProzd merged 11 commits intodeepmodeling:develfrom
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## devel #3380 +/- ##
==========================================
+ Coverage 76.59% 76.66% +0.06%
==========================================
Files 420 421 +1
Lines 35754 35838 +84
Branches 1620 1620
==========================================
+ Hits 27387 27476 +89
+ Misses 7499 7494 -5
Partials 868 868 ☔ View full report in Codecov by Sentry. |
njzjz
reviewed
Mar 1, 2024
iProzd
commented
Mar 1, 2024
njzjz
reviewed
Mar 2, 2024
Member
njzjz
left a comment
There was a problem hiding this comment.
I got inf when doing dp test:
/home/jz748/codes/deepmd-kit/deepmd/entrypoints/test.py:996: RuntimeWarning: divide by zero encountered in scalar divide
rmse_fs = rmse_f / np.sqrt(sel_natoms)
/home/jz748/codes/deepmd-kit/deepmd/entrypoints/test.py:997: RuntimeWarning: divide by zero encountered in scalar divide
rmse_fa = rmse_f / sel_natoms
DEEPMD INFO # number of test data : 80
DEEPMD INFO Dipole RMSE : 1.437255e+00
DEEPMD INFO Dipole RMSE/sqrtN : inf
DEEPMD INFO Dipole RMSE/N : inf
The number of atoms seems to be based on sel_natoms?
Signed-off-by: Duo <50307526+iProzd@users.noreply.github.com>
njzjz
approved these changes
Mar 2, 2024
wanghan-iapcm
approved these changes
Mar 3, 2024
anyangml
approved these changes
Mar 3, 2024
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.