-
Hi, I hope you are doing well. I am getting errors when I am doing model compression. DeepMD-kit Version -- v2.1.3 Input File {
"_comment": " model parameters",
"model": {
"type_map": ["O", "H"],
"descriptor" :{
"type": "se_e2_a",
"sel": [46, 92],
"rcut_smth": 0.50,
"rcut": 6.00,
"neuron": [32,64,128],
"resnet_dt": false,
"axis_neuron": 16,
"seed": 1,
"_comment": " that's all"
},
"fitting_net" : {
"neuron": [240, 240,240],
"resnet_dt": true,
"seed": 1,
"_comment": " that's all"
},
"_comment": " that's all"
},
"learning_rate" :{
"type": "exp",
"decay_steps": 5000,
"start_lr": 0.001,
"stop_lr": 3.51e-8,
"_comment": "that's all"
},
"loss" :{
"type": "ener",
"start_pref_e": 0.02,
"limit_pref_e": 8,
"start_pref_f": 1000,
"limit_pref_f": 1,
"start_pref_v": 0,
"limit_pref_v": 0,
"_comment": " that's all"
},
"training" : {
"training_data": {
"systems": "../../data/water/lw_pimd/train",
"batch_size": "auto",
"_comment": "that's all"
},
"validation_data":{
"systems": "../../data/water/lw_pimd/val",
"batch_size": "auto",
"_comment": "that's all"
},
"numb_steps": 1000000,
"seed": 10,
"disp_file": "lcurve.out",
"disp_freq": 100,
"save_freq": 1000,
"_comment": "that's all"
},
"_comment": "that's all"
} Command -- dp compress -i graph.pb -o graph-compress.pb Error--WARNING:tensorflow:From /home/anurag1/miniconda3/envs/deepmd/lib/python3.10/site-packages/tensorflow/python/compat/v2_compat.py:107: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version. The above exception was the direct cause of the following exception: Traceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The error message itself has already explained the reason and what to do. |
Beta Was this translation helpful? Give feedback.
The error message itself has already explained the reason and what to do.