Fix init-frz-model command implementation#1137
Merged
amcadmus merged 1 commit intodeepmodeling:develfrom Sep 14, 2021
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## devel #1137 +/- ##
=======================================
Coverage 75.66% 75.66%
=======================================
Files 88 88
Lines 7034 7034
=======================================
Hits 5322 5322
Misses 1712 1712
Continue to review full report at Codecov.
|
njzjz
approved these changes
Sep 13, 2021
njzjz
pushed a commit
to njzjz/deepmd-kit
that referenced
this pull request
Sep 21, 2023
Added the `model_devi_merge_traj` parameter to allow the merging of trajectories into one file using the lmp_input template. --------- Signed-off-by: Pan Xiang <panxiang126@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
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.
The
tf.import_graph_deffunction prepends 'import' to tensor names, so that we could not load the tensors, such aso_rmat, from the frozen model generated by theinit-frz-modelcommand, which is also discussed by #1133 .This PR should fix this problem by pass
""to thetf.import_graph_def.Note this PR was inspired by the related tensorflow issue.