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: compute output stat for a dict of labels. #3628

Merged
merged 5 commits into from
Apr 1, 2024

Conversation

wanghan-iapcm
Copy link
Collaborator

@wanghan-iapcm wanghan-iapcm commented Mar 31, 2024

  • add UT for it.
  • at the moment, only energy is supported in the base_atomic_model. handling of multiple output stat will be implemented in a future PR.

@wanghan-iapcm wanghan-iapcm requested review from njzjz and anyangml March 31, 2024 15:59
@wanghan-iapcm wanghan-iapcm changed the title compute output stat for a dict of labels. feat: compute output stat for a dict of labels. Mar 31, 2024
Copy link

codecov bot commented Mar 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.80%. Comparing base (15e4926) to head (eee1b87).

Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #3628      +/-   ##
==========================================
+ Coverage   77.79%   77.80%   +0.01%     
==========================================
  Files         438      438              
  Lines       37693    37707      +14     
  Branches     1623     1623              
==========================================
+ Hits        29322    29337      +15     
+ Misses       7507     7506       -1     
  Partials      864      864              

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

deepmd/pt/utils/stat.py Outdated Show resolved Hide resolved
@wanghan-iapcm wanghan-iapcm requested a review from anyangml April 1, 2024 10:02
@njzjz njzjz added this pull request to the merge queue Apr 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2024
@njzjz njzjz added this pull request to the merge queue Apr 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2024
@njzjz njzjz added this pull request to the merge queue Apr 1, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Apr 1, 2024
@njzjz njzjz added this pull request to the merge queue Apr 1, 2024
Merged via the queue into deepmodeling:devel with commit 8e0cc90 Apr 1, 2024
48 checks passed
@wanghan-iapcm wanghan-iapcm deleted the out-stat-dict branch April 2, 2024 00:58
@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.

3 participants