What is the behavior of 'ckpt_path' when passed into trainer.fit()? #20499
Unanswered
JLenzy
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to identify what elements of my saved pl checkpoint are going to be resume from checkpoint, and what needs to be manually re-specified. For example, when I did my initial training run, let's say I did:
and now I am trying to resume:
So I've now passed in ckpt twice, to load the model (which I need to do prior to the trainer, for logging purposes) and now to the trainer itself. Will things like my config's learning rate, max number of steps, number of val batches, etc. still be saved and utilized from the previous training run? Or do I need to pass in the original config file to re-duplicate it?
Beta Was this translation helpful? Give feedback.
All reactions