Python predicted energe is different from the energy obtained by the test model #1092
Unanswered
lammps-vasp
asked this question in
Q&A
Replies: 2 comments 3 replies
-
What's your Python script? The order of frames has been likely to be shuffled? |
Beta Was this translation helpful? Give feedback.
0 replies
-
------------------ 原始邮件 ------------------
发件人: "deepmodeling/deepmd-kit" ***@***.***>;
发送时间: 2021年9月4日(星期六) 上午10:54
***@***.***>;
抄送: "Zhifeng ***@***.******@***.***>;
主题: Re: [deepmodeling/deepmd-kit] Python predicted energe is different from the energy obtained by the test model (#1092)
What's your Python script? The order of frames has been likely to be shuffled?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Extract the position information below each column of POSITION TOTAL-FORCE from OUTCAR to generate POSCAR. POSCAR is shown in Figure 1 below. Use the trained model to predict the energy. It turns out that the energy predicted by python is compared with the model after the model is trained. There is a difference in the energy of the test. The test command is dp test -m frozen_model.pb -s ./data -n 196 -d result. According to the same model and the same position information, the calculated energy should be the same. What is the reason? The energy predicted by python is shown in Figure 2; the energy obtained by the training model test is Figure 3. The installed dpdata version is 0.1.19, and the deepmd version isdeepmd-kit-1.3.1-cpu-Linux-x86_64.sh.



Looking forward to replying!
POSCAR figure1
python predict energe figure2
test model energe figure3
Beta Was this translation helpful? Give feedback.
All reactions