Number of steps per epoch #5444
Unanswered
celsofranssa
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 1 reply
-
Normally I pass the total number of samples in the dataset as well as the batch size into my model's |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some learning rate schedulers as OneCycleLR requires the number of steps per epoch.
Then, how to get the number of steps in
configure_optimizers(self)
scope?Beta Was this translation helpful? Give feedback.
All reactions