Skip to content

Commit

Permalink
Arslan's suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideTisi committed Nov 21, 2024
1 parent f3525ed commit be98f83
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 @@ -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"

Expand Down

0 comments on commit be98f83

Please sign in to comment.