Closed baoqinfu closed 3 years ago
Which version of deepmd-kit was used for the model training?
Which version of deepmd-kit was used for the model training?
2021-07-13 17:39:10.288795: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.1 WARNING:tensorflow:From /opt/deepmd-kit-2.0.0.b3/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 DEEPMD INFO
I noticed the warning:
required batch size is larger than the size of the dataset ../data/data.init/C_atomSpin2/dpmd/set.000 (32 > 1)
maybe try reducing batch size to 1?
I noticed the warning:
required batch size is larger than the size of the dataset ../data/data.init/C_atomSpin2/dpmd/set.000 (32 > 1)
maybe try reducing batch size to 1?
Can you provide your input file?
Can you provide your input file?
the below is my input file:
{
"_comment": "v2.0",
"model": {
"type_map": [
"Si",
"C"
],
"descriptor": {
"type": "se_e2_a",
"sel": [
300,
300
],
"rcut_smth": 0.5,
"rcut": 9.0,
"neuron": [
25,
50,
100
],
"resnet_dt": false,
"axis_neuron": 12,
"seed": 678568530
},
"fitting_net": {
"neuron": [
240,
240,
240
],
"resnet_dt": true,
"seed": 4111181373
}
},
"loss": {
"start_pref_e": 0.02,
"limit_pref_e": 2,
"start_pref_f": 1000,
"limit_pref_f": 1,
"start_pref_v": 0.01,
"limit_pref_v": 1
},
"learning_rate": {
"start_lr": 0.001,
"decay_steps": 20000,
"_decay_rate": 0.95
},
"training": {
"training_data":{
"systems": "../data/",
"batch_size": "auto"
},
"validation_data":{
"systems": "../data/",
"batch_size": "auto",
"numb_btch": 4,
"_comment": "that's all"
},
"numb_steps": 4000000,
"seed": 2061570774,
"_comment": "that's all",
"disp_file": "lcurve.out",
"disp_freq": 2000,
"numb_test": 1,
"save_freq": 2000,
"save_ckpt": "model.ckpt",
"disp_training": true,
"time_training": true,
"profiling": false,
"profiling_file": "timeline.json"
}
}
Fixed in #882.
*Summary I use "dp compress -i SiClda1.pb input.json -o SiCldaC1.pb" to compress a model and it goes wrong. How can I adress this problem?
Deepmd-kit version, installation way, input file, running commands, error log, etc.
Steps to Reproduce
Further Information, Files, and Links