Custom scheduler #9817
Answered
by
rohitgr7
jw3126
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Custom scheduler
#9817
-
I would like to provide my own learning rate scheduler. What I would love is do is doing this in the lightning style, e.g. implementing some hooks: class MyScheduler(pl.LightningScheduler):
...
def on_step(self...):
...
def on_epoch(self...):
... Is something like this possible? How do other people handle custom schedulers? PS: I asked this question before on the [deprecated forum.] |
Beta Was this translation helpful? Give feedback.
Answered by
rohitgr7
Oct 5, 2021
Replies: 1 comment 5 replies
-
can you please elaborate on the usage more? like what do you want to do inside |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
jw3126
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can you please elaborate on the usage more? like what do you want to do inside
on_step
andon_epoch
methods?