C++ interface "NNPInter" #310
Unanswered
WangXinyan940
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I wrote simple test cases for both Python and C++ interface.
Python version:
C++ version:
As shown, my input coordinates, box vectors and atom types are totally the same, but the C++ case failed while Python case succeeded. The error is:
Did I used the C++ interface in a wrong way?
I compiled the whole things with tensorflow==1.14, gcc==5.3, cudatookit==10.1 and the latest deepmd-kit code from master branch. The deepmd-kit library is compiled with double precision.
The freezed model I used is attached here:
graph.zip
Beta Was this translation helpful? Give feedback.
All reactions