Training based on iterations #12511
Answered
by
ananthsub
mshooter
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
-
Hi, Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
ananthsub
Mar 29, 2022
Replies: 1 comment 1 reply
-
Hi @mshooter , you can use the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mshooter
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @mshooter , you can use the
min_steps
andmax_steps
arguments on the Trainer to do training based on iterations instead of epochs. https://pytorch-lightning.readthedocs.io/en/latest/common/trainer.html#max-steps