You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for your nice implementation of Warmup wrapper.
I found one tiny thing to improve.
By adding self._last_lr = [group["lr"] for group in self.optimizer.param_groups] at the end of step() function, we could get right value of lr when we call scheduler.get_last_lr()[0] to check lr value.
The text was updated successfully, but these errors were encountered:
First of all, thanks for your nice implementation of Warmup wrapper.
I found one tiny thing to improve.
By adding
self._last_lr = [group["lr"] for group in self.optimizer.param_groups]
at the end ofstep()
function, we could get right value of lr when we callscheduler.get_last_lr()[0]
to check lr value.The text was updated successfully, but these errors were encountered: