optimizer and lr_scheduler #1677
Unanswered
ZahraMESBAHI
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Warning About lr_scheduler.step() Before optimizer.step(): The warning mentions that in PyTorch version 1.1.0 and later, you should call optimizer.step() before lr_scheduler.step(). The current order of calls in your code could lead to skipping the first learning rate update.
Beta Was this translation helpful? Give feedback.
All reactions