Skip to content

Commit

Permalink
Arslan's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideTisi authored Nov 20, 2024
1 parent b0a4b99 commit 1e26b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metatrain/experimental/pet/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,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"

Expand Down

0 comments on commit 1e26b3c

Please sign in to comment.