Bug summary
Using the exact same build (pip install) of deepmd (v 2.2.9) that is using Tensorflow 2.15 and cuda 12, I train and then freeze a model without changing my environment at all.
I get the following DEEPMD WARNING that doesn't make sense to me:
DEEPMD WARNING The following nodes are not in the graph: {'train_attr/min_nbor_dist', 'fitting_attr/aparam_nall', 'spin_attr/ntypes_spin'}. Skip freezeing these nodes. You may be freezing a checkpoint generated by an old version.
The checkpoint was definitely not created by an older version but apparently something is failing the test here:
|
different_set = set(output_node) - set(input_node) |
DeePMD-kit Version
2.2.9
TensorFlow Version
2.15
How did you download the software?
pip
Input Files, Running Commands, Error Log, etc.
it's just dp train input.json --skip-neighbor-stat immediately followed by dp freeze -o graph.pb
System: NVIDIA A100 GPU, x86 AMD EPYC 7513 CPU, OS: Ubuntu 22.04
Steps to Reproduce
run any training then run freeze to freeze the model
Further Information, Files, and Links
none
Bug summary
Using the exact same build (pip install) of deepmd (v 2.2.9) that is using Tensorflow 2.15 and cuda 12, I train and then freeze a model without changing my environment at all.
I get the following DEEPMD WARNING that doesn't make sense to me:
DEEPMD WARNING The following nodes are not in the graph: {'train_attr/min_nbor_dist', 'fitting_attr/aparam_nall', 'spin_attr/ntypes_spin'}. Skip freezeing these nodes. You may be freezing a checkpoint generated by an old version.The checkpoint was definitely not created by an older version but apparently something is failing the test here:
deepmd-kit/deepmd/entrypoints/freeze.py
Line 359 in b875ea8
DeePMD-kit Version
2.2.9
TensorFlow Version
2.15
How did you download the software?
pip
Input Files, Running Commands, Error Log, etc.
it's just
dp train input.json --skip-neighbor-statimmediately followed bydp freeze -o graph.pbSystem: NVIDIA A100 GPU, x86 AMD EPYC 7513 CPU, OS: Ubuntu 22.04
Steps to Reproduce
run any training then run
freezeto freeze the modelFurther Information, Files, and Links
none