The size of tensor Runtime Error #33
Replies: 6 comments 3 replies
-
Hi @umichwbaek , Can you please provide more details about your config and dataset? |
Beta Was this translation helpful? Give feedback.
-
I used almost the same input parameters of example.yaml in allegro except for the following: r_max: 7.0 dataset: ase validation_dataset: ase n_train: 160 batch_size: 2 metrics_components:
The type of train and validation dataset is xyz. I have separate validation dataset file, so I did not use 'train_val_split'. It did not show any dataset error, so the format would not be the problem |
Beta Was this translation helpful? Give feedback.
-
Ah I see it--- you should not set |
Beta Was this translation helpful? Give feedback.
-
Oh I see. Then how can I get per-atom values of mse and rmse? Is it the mse or rmse divided by the total number of atoms of the sum of whole data, or average? |
Beta Was this translation helpful? Give feedback.
-
You mean you want to report the force RMSE on a specific atom? |
Beta Was this translation helpful? Give feedback.
-
Both. For overall and specific if possible. |
Beta Was this translation helpful? Give feedback.
-
Hi
I got an Runtime error while running the nequip-train of my work.
File "/home/software/anaconda3/envs/NequiP/lib/python3.10/site-packages/nequip/train/metrics.py", line 183, in call error_N = error / N
RuntimeError: The size of tensor a (350) must match the size of tensor b (5) at non-singleton dimension 0
I found that the error comes from the metrics_components. When I mute metrics_components, it runs without the errors, but I want to see the output with components I put.
Are there have any additional parameters that I need to set?
Beta Was this translation helpful? Give feedback.
All reactions