You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have trained a nanopet model following the example in the mtt examples folder:
# architecture used to train the modelarchitecture:
name: experimental.nanopettraining:
num_epochs: 50# a very short training runlog_interval: 1checkpoint_interval: 10# Mandatory section defining the parameters for system and target data of the# training settraining_set:
systems: "qm9_reduced_100.xyz"# file where the positions are storedtargets:
energy:
key: "U0"# name of the target valueunit: "eV"# unit of the target valuetest_set: 0.1# 10 % of the training_set are randomly split and taken for test setvalidation_set: 0.1# 10 % of the training_set are randomly split and for validation
After the training is completed, the model gets exported to model.pt and model.ckpt.
When calling mtt eval model.pt eval.yam I obtain the following evaluation errors:
[2025-02-19 13:06:02][INFO] - Package directory: /home/kellner/packages/metatrain/src/metatrain
[2025-02-19 13:06:02][INFO] - Working directory: /home/kellner/example
[2025-02-19 13:06:02][INFO] - Metatrain version: 0.1.dev321+g028efa5
[2025-02-19 13:06:02][INFO] - Executed command: mtt eval model.pt eval.yaml
[2025-02-19 13:06:02][INFO] - Setting up evaluation set.
[2025-02-19 13:06:02][INFO] - Evaluating dataset
[2025-02-19 13:06:03][WARNING] - No forces found in section 'U0'.
[2025-02-19 13:06:03][WARNING] - No stress found in section 'U0'.
[2025-02-19 13:06:03][INFO] - Running on device cuda with dtype torch.float64
[2025-02-19 13:06:07][INFO] - energy RMSE (per atom): 1.6784 meV, energy MAE (per atom): 1.3701 meV
[2025-02-19 13:06:07][INFO] - evaluation time: 0.47 s [0.5323 ± 0.2316 ms per atom]
When manually exporting one of the training checkpoints via: mtt export ./outputs/2025-02-19/13-05-18/model_40.ckpt -o from_output_dir.pt
And then evaluating the model: mtt eval from_output_dir.pt eval.yaml
I obtain these evaluation errors:
[2025-02-19 13:06:59][INFO] - Package directory: /home/kellner/packages/metatrain/src/metatrain
[2025-02-19 13:06:59][INFO] - Working directory: /home/kellner/example
[2025-02-19 13:06:59][INFO] - Metatrain version: 0.1.dev321+g028efa5
[2025-02-19 13:06:59][INFO] - Executed command: mtt eval from_output_dir.pt eval.yaml
[2025-02-19 13:07:00][INFO] - Setting up evaluation set.
[2025-02-19 13:07:00][INFO] - Evaluating dataset
[2025-02-19 13:07:00][WARNING] - No forces found in section 'U0'.
[2025-02-19 13:07:00][WARNING] - No stress found in section 'U0'.
[2025-02-19 13:07:00][INFO] - Running on device cuda with dtype torch.float64
[2025-02-19 13:07:04][INFO] - energy RMSE (per atom): 22589.3 meV, energy MAE (per atom): 21523.5 meV
[2025-02-19 13:07:04][INFO] - evaluation time: 0.47 s [0.5331 ± 0.2332 ms per atom]
The text was updated successfully, but these errors were encountered:
Metatrain-version:
Metatrain version: 0.1.dev321+g028efa5
I have trained a nanopet model following the example in the mtt examples folder:
After the training is completed, the model gets exported to
model.pt
andmodel.ckpt
.When calling
mtt eval model.pt eval.yam
I obtain the following evaluation errors:When manually exporting one of the training checkpoints via:
mtt export ./outputs/2025-02-19/13-05-18/model_40.ckpt -o from_output_dir.pt
And then evaluating the model:
mtt eval from_output_dir.pt eval.yaml
I obtain these evaluation errors:
The text was updated successfully, but these errors were encountered: