-
Notifications
You must be signed in to change notification settings - Fork 526
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
add model files for globalpolar and WFC #3561
Labels
Comments
njzjz
added a commit
to njzjz/deepmd-kit
that referenced
this issue
May 28, 2024
Fix deepmodeling#3561. Fix deepmodeling#3562. Not sure if some one uses them, but it's good to keep compatibility. Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
github-merge-queue bot
pushed a commit
that referenced
this issue
May 30, 2024
Fix #3561. Fix #3562. Not sure if some one uses them, but it's good to keep compatibility. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced support for "global_polar" and "wfc" mappings in evaluation backend. - Added `output_def` property to define model output for `DeepGlobalPolar` and `DeepWFC` classes. - **Bug Fixes** - Updated test setup to create temporary model files for `DeepGlobalPolar` and `DeepWFC`. - **Refactor** - `DeepGlobalPolar` and `DeepWFC` classes now inherit from `OldDeepTensor` for better structure and functionality. - **Tests** - Enhanced test coverage to include instantiation checks for `DeepGlobalPolar` and `DeepWFC` objects. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> Co-authored-by: Han Wang <92130845+wanghan-iapcm@users.noreply.github.com>
Closed in commit 710cad3 |
mtaillefumier
pushed a commit
to mtaillefumier/deepmd-kit
that referenced
this issue
Sep 18, 2024
Fix deepmodeling#3561. Fix deepmodeling#3562. Not sure if some one uses them, but it's good to keep compatibility. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced support for "global_polar" and "wfc" mappings in evaluation backend. - Added `output_def` property to define model output for `DeepGlobalPolar` and `DeepWFC` classes. - **Bug Fixes** - Updated test setup to create temporary model files for `DeepGlobalPolar` and `DeepWFC`. - **Refactor** - `DeepGlobalPolar` and `DeepWFC` classes now inherit from `OldDeepTensor` for better structure and functionality. - **Tests** - Enhanced test coverage to include instantiation checks for `DeepGlobalPolar` and `DeepWFC` objects. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu> Co-authored-by: Han Wang <92130845+wanghan-iapcm@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dp = DeepPotential(self.work_dir / "deep_globalpolar.pb")
self.assertIsInstance(
dp, DeepGlobalPolar, msg.format(DeepGlobalPolar, type(dp))
Line: 65
deepmd-kit//source/tests/tf/test_get_potential.py
Lines 62 to 72 in 76371ce
The text was updated successfully, but these errors were encountered: