Skip to content

hyper parameters not restored while resuming training #12639

Discussion options

You must be logged in to vote

hyperparameters are not restored by default because it allows users to update them if they want, using the checkpoint, while resuming.

you can do this:

model = LitModel.load_from_checkpoint(checkpoint_file_path)
trainer.fit(model, ..., ckpt_path=checkpoint_file_path)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Haojia521
Comment options

Answer selected by Haojia521
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment