undefined key load_ckpt
is not allowed in strict mode, when deepmd-kit-2.0.0 train water demo
#907
Unanswered
tonystarkiss
asked this question in
Q&A
Replies: 2 comments
-
I think you are using an old example with the new version. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can safely remove the keyword |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(base) root@d7f92b70f22c:/data/examples/water/train# dp train water_se_a.json
2021-07-31 08:50:43.574572: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:From /data/deepmd-kit-2.0.0/lib/python3.9/site-packages/tensorflow/python/compat/v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
WARNING:root:Environment variable KMP_BLOCKTIME is empty. Use the default value 0
WARNING:root:Environment variable KMP_AFFINITY is empty. Use the default value granularity=fine,verbose,compact,1,0
/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/deepmd/utils/compat.py:278: UserWarning: It seems that you are using a deepmd-kit input of version 1.x.x, which is deprecated. we have converted the input to >2.0.0 compatible, and output it to file input_v2_compat.json
warnings.warn(msg)
Traceback (most recent call last):
File "/data/deepmd-kit-2.0.0/bin/dp", line 10, in
sys.exit(main())
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/deepmd/entrypoints/main.py", line 419, in main
train(**dict_args)
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/deepmd/entrypoints/train.py", line 175, in train
jdata = normalize(jdata)
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/deepmd/utils/argcheck.py", line 642, in normalize
base.check_value(data, strict=True)
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/dargs/dargs.py", line 277, in check_value
self.traverse_value(argdict,
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/dargs/dargs.py", line 240, in traverse_value
self._traverse_sub(value,
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/dargs/dargs.py", line 259, in _traverse_sub
subarg.traverse(value,
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/dargs/dargs.py", line 227, in traverse
self.traverse_value(value,
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/dargs/dargs.py", line 240, in traverse_value
self._traverse_sub(value,
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/dargs/dargs.py", line 255, in _traverse_sub
sub_hook(self, value, path)
File "/data/deepmd-kit-2.0.0/lib/python3.9/site-packages/dargs/dargs.py", line 306, in _check_strict
raise ArgumentKeyError(path,
dargs.dargs.ArgumentKeyError: [at location
training
] undefined keyload_ckpt
is not allowed in strict modeBeta Was this translation helpful? Give feedback.
All reactions