How to change manually the learning rate during the training #7169
Unanswered
farahFif
asked this question in
Lightning Trainer API: Trainer, LightningModule, LightningDataModule
Replies: 1 comment 2 replies
-
Hi for group in optimizer.param_groups:
group["lr"] = 0.12345 You can access the optimizer through the trainer (returns one or multiple): |
Beta Was this translation helpful? Give feedback.
2 replies
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 change the learning rate after some epochs ( since I am loading another model) . I want to do it manually , I tried by calling configure_optimizer hook the learning rate changed but the scheduler is no longer working.
Beta Was this translation helpful? Give feedback.
All reactions