Replies: 2 comments 11 replies
-
Which version of deepmd-kit are you using? Please confirm this error with the latest released package. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello developer,
I want to compress the model for training acceleration, but I ran into this problem halfway through. In the two steps of compression, the first step ‘compress’ did not report an error, but the second step 'freeze' failed. The error is shown below.
File "/home/zhaow/anaconda3/envs/dpmd/lib/python3.9/site-packages/deepmd/descriptor/se_a.py", line 320, in enable_compression
self.table = DPTabulate(
File "/home/zhaow/anaconda3/envs/dpmd/lib/python3.9/site-packages/deepmd/utils/tabulate.py", line 101, in __init__
for item in self.matrix["layer_" + str(self.layer_size)]:
KeyError: 'layer_0'
I checked my descriptor setting but did not find the problem. What should I do next? It’s worth mentioning that I have successfully performed compression training before, and the sudden mistake made me feel puzzled.
"descriptor": {
"type": "se_e2_a",
"sel": [ 68, 46, 92],
"rcut_smth": 5.80,
"rcut": 6.00,
"neuron": [32, 64, 128],
"resnet_dt": false,
"axis_neuron": 16,
"seed": 1,
},
Beta Was this translation helpful? Give feedback.
All reactions