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

feat: atom_ener in energy fitting #3370

Merged
merged 3 commits into from
Mar 1, 2024

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Mar 1, 2024

Also, fix the TF serialization issue (it tried to store a tensor instead of a NumPy array).

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@github-actions github-actions bot added the Python label Mar 1, 2024
@njzjz njzjz requested a review from wanghan-iapcm March 1, 2024 01:55
@@ -79,6 +83,7 @@
precision,
mixed_types,
numb_fparam,
atom_ener,

Check notice

Code scanning / CodeQL

Unused local variable Note test

Variable atom_ener is not used.
Copy link

codecov bot commented Mar 1, 2024

Codecov Report

Attention: Patch coverage is 96.42857% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 76.08%. Comparing base (54efc03) to head (2d501d9).

Files Patch % Lines
deepmd/dpmodel/fitting/general_fitting.py 92.30% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3370      +/-   ##
==========================================
+ Coverage   76.06%   76.08%   +0.02%     
==========================================
  Files         421      421              
  Lines       35514    35540      +26     
  Branches     1618     1618              
==========================================
+ Hits        27013    27040      +27     
+ Misses       7633     7632       -1     
  Partials      868      868              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@njzjz njzjz mentioned this pull request Mar 1, 2024
@njzjz njzjz marked this pull request as draft March 1, 2024 02:36
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz njzjz marked this pull request as ready for review March 1, 2024 02:41
deepmd/pt/model/task/fitting.py Outdated Show resolved Hide resolved
Co-authored-by: Han Wang <92130845+wanghan-iapcm@users.noreply.github.com>
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@wanghan-iapcm wanghan-iapcm enabled auto-merge March 1, 2024 06:32
@wanghan-iapcm wanghan-iapcm added this pull request to the merge queue Mar 1, 2024
Merged via the queue into deepmodeling:devel with commit f684be8 Mar 1, 2024
48 checks passed
github-merge-queue bot pushed a commit that referenced this pull request Mar 1, 2024
It should be merged after #3370.

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
@njzjz njzjz mentioned this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants