Replies: 2 comments 1 reply
-
You will need to show your save and loading code. The likely reason is that you did not save and load the model properly as a Potential class. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Recently, I had a similar problem to yours. I downgraded the matgl to 0.7.1, torch to 2.0.1 and clear the cache of dgl_graph and it worked for me. In my case, I think the problem was the cached dgl_graph. Hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I trained the m3gnet model on MPtrj Dataset, which is used for training chgnet.
(https://figshare.com/articles/dataset/Materials_Project_Trjectory_MPtrj_Dataset/23713842.)
Good performance was obtained during the training process, and the performance was decent compared to the pretrained model you provided.
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Test metric ┃ DataLoader 0 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ test_Energy_MAE │ 0.1104562059044838 │
│ test_Energy_RMSE │ 0.13586871325969696 │
│ test_Force_MAE │ 0.09391890466213226 │
│ test_Force_RMSE │ 0.15049749612808228 │
│ test_Site_Wise_MAE │ 0.0 │
│ test_Site_Wise_RMSE │ 0.0 │
│ test_Stress_MAE │ 0.0 │
│ test_Stress_RMSE │ 0.0 │
│ test_Total_Loss │ 0.04630613327026367 │
└───────────────────────────┴───────────────────────────┘
However, when I ㅣloadedd the trained model again for verification and predicted the potential energy of the structure, the performance was completely different. Can you tell me why this problem is?
Beta Was this translation helpful? Give feedback.
All reactions