From be98f8388b8fdd456f9130dfc8531c1e1831eb1c Mon Sep 17 00:00:00 2001 From: Davide Tisi Date: Wed, 20 Nov 2024 15:27:06 +0100 Subject: [PATCH] Arslan's suggestion --- src/metatrain/experimental/pet/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metatrain/experimental/pet/trainer.py b/src/metatrain/experimental/pet/trainer.py index 73bbd4a9c..39878fbd4 100644 --- a/src/metatrain/experimental/pet/trainer.py +++ b/src/metatrain/experimental/pet/trainer.py @@ -719,7 +719,7 @@ def save_model(model_name, model_keeper): os.remove(Path(checkpoint_dir) / "checkpoint.temp") if do_forces: - load_path = self.pet_dir / "best_val_mae_forces_model_state_dict" + load_path = self.pet_dir / "best_val_mae_both_model_state_dict" else: load_path = self.pet_dir / "best_val_mae_energies_model_state_dict"