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

Fix bugs when init_frz_model using tebd. #1891

Merged
merged 55 commits into from
Sep 9, 2022

Conversation

iProzd
Copy link
Collaborator

@iProzd iProzd commented Sep 3, 2022

Fix bugs when init_frz_model using tebd.
Add init_variables for attention variables.
Fix precision of self.t_bias_atom_e in se_atten.py.
Change the default values in argcheck for se_atten (typos).
Improve the name scope in se_atten.py.
Delete some redundant variables in se_atten.py.
Move tf.constant from se_a.init() into build.
Add UTs for init_frz_model.

iProzd and others added 30 commits June 1, 2021 23:42
Devel update 2.0.0 with more features
Deal with the required changes, add docs, and fix bugs in UT.
Add docs to ntype and nmask in ProdEnvMatAMix. Change nmask from FPTYPE to bool. Fix bugs in toc depth.
deepmd/fit/ener.py Outdated Show resolved Hide resolved
deepmd/descriptor/se_a.py Outdated Show resolved Hide resolved
@njzjz
Copy link
Member

njzjz commented Sep 9, 2022

#1901 should fix the failed tests.

@wanghan-iapcm wanghan-iapcm merged commit 3af9d3a into deepmodeling:devel Sep 9, 2022
mingzhong15 pushed a commit to mingzhong15/deepmd-kit that referenced this pull request Jan 15, 2023
Fix bugs when init_frz_model using tebd.
Add init_variables for attention variables.
Fix precision of self.t_bias_atom_e in se_atten.py.
Change the default values in argcheck for se_atten (typos).
Improve the name scope in se_atten.py.
Delete some redundant variables in se_atten.py.
Move tf.constant from se_a.__init__() into build.
Add UTs for init_frz_model.

Co-authored-by: Jinzhe Zeng <[email protected]>
njzjz added a commit to njzjz/deepmd-kit that referenced this pull request Jun 23, 2023
It seems that deepmodeling#1891 wrongly added a suffix to the variable names to make them like `filter_type_all_suffix/matrix_1_suffix`. However, it is expected to be `filter_type_all_suffix/matrix_1` which is consistent in other classes and methods.

Signed-off-by: Jinzhe Zeng <[email protected]>
wanghan-iapcm pushed a commit that referenced this pull request Jun 25, 2023
It seems that #1891 wrongly added a suffix to the variable names to make
them like `filter_type_all_suffix/matrix_1_suffix`. However, it is
expected to be `filter_type_all_suffix/matrix_1`, consistent in other
descriptors and the following method.


https://github.com/deepmodeling/deepmd-kit/blob/5308c66d4f3069047af4a8aa07ece1df4b9628bc/deepmd/utils/graph.py#L166-L171

---------

Signed-off-by: Jinzhe Zeng <[email protected]>
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.

5 participants