Skip to content

Commit

Permalink
added final epoch number to final checkpoint name
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilferrit committed Jun 20, 2024
1 parent 3f033b2 commit 8e292b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casanovo/denovo/model_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def train(
self.trainer.save_checkpoint(
os.path.join(
self.config.model_save_folder_path,
"train-run-final.ckpt"
f"train-run-final-{self.trainer.current_epoch}.ckpt"
)
)

Expand Down

0 comments on commit 8e292b1

Please sign in to comment.