Train model for a few iteration and continue #14964
Unanswered
we-taper
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi pytorch-lightning community,
I want to be able to train my model for a few iterations, pause, check for some outputs, and continue from that.
It seems that this is not natively supported in PyTorch lightning's
Trainer.fit
.Currently, I achieve this by:
However, this isn't ideal since the trainer always calls
finalize
on my logger, which sometimes messes up the logger.For example, for Aim's logger, it clears the current experiment, and starts a new one for the second 20 iterations.
Are there any alternatives?
Beta Was this translation helpful? Give feedback.
All reactions