Skip to content

Commit

Permalink
update the message
Browse files Browse the repository at this point in the history
  • Loading branch information
awaelchli committed Jun 10, 2021
1 parent 8d32cb5 commit ee0867a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def restore_progress(self) -> None:
if self.trainer.max_epochs is not None and self.trainer.current_epoch > self.trainer.max_epochs:
raise MisconfigurationException(
f"You restored a checkpoint with current_epoch={self.trainer.current_epoch},"
f" but the Trainer(max_epochs={self.trainer.max_epochs})"
f" but you have set Trainer(max_epochs={self.trainer.max_epochs})."
)

# Division deals with global step stepping once per accumulated batch
Expand Down

0 comments on commit ee0867a

Please sign in to comment.