How to keep lr fixed at first N epoch, and then use scheduler for the rest of training #18658
Closed
Unanswered
Mo-Junyang
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.
-
I want to keep lr at 5e-4 before N epoch, and then use CosineAnnealingLR for the rest of training. What should I do?
I know that I can set
self.automatic_optimization
= False, and then besides the scheduler I have to manual step the optimizer. Is there any way to do auto optimize and manual scheduler?Beta Was this translation helpful? Give feedback.
All reactions