How can I resume training pl.Trainer after interruption? #6280
Unanswered
andreys42
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 have Model and Trainer pytorch-lightning objects which are initialized as follows:
Then I started training using:
trainer.fit(model)
But training was interrupted and now I would like to resume it using checkpoint from N-th iteration So i tried initialize model and trainer as:
But again and again training starting from scratch (from 0th epoch and huge error). What did I miss?
Beta Was this translation helpful? Give feedback.
All reactions