Skip to content

Commit

Permalink
Update torch/optim/lr_scheduler.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jane (Yuan) Xu <[email protected]>
  • Loading branch information
alperenunlu and janeyx99 authored Nov 22, 2023
1 parent daa7f99 commit 30a877b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/optim/lr_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1390,7 +1390,7 @@ def load_state_dict(self, state_dict):
class CosineAnnealingWarmRestarts(LRScheduler):
r"""Set the learning rate of each parameter group using a cosine annealing schedule.
Where :math:`\eta_{max}` is set to the initial lr, :math:`T_{cur}`
:math:`\eta_{max}` is set to the initial lr, :math:`T_{cur}`
is the number of epochs since the last restart and :math:`T_{i}` is the number
of epochs between two warm restarts in SGDR:
Expand Down

0 comments on commit 30a877b

Please sign in to comment.