Skip to content

Commit d5057c1

Browse files
committed
typo
1 parent b1ae294 commit d5057c1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if __name__ == '__main__':
3131
scheduler_steplr = StepLR(optim, step_size=10, gamma=0.1)
3232
scheduler_warmup = GradualWarmupScheduler(optim, multiplier=1, total_epoch=5, after_scheduler=scheduler_steplr)
3333

34-
# this zero gradient update is needed to avoid an warning message, issue #8.
34+
# this zero gradient update is needed to avoid a warning message, issue #8.
3535
optim.zero_grad()
3636
optim.step()
3737

warmup_scheduler/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
scheduler_steplr = StepLR(optim, step_size=10, gamma=0.1)
1414
scheduler_warmup = GradualWarmupScheduler(optim, multiplier=1, total_epoch=5, after_scheduler=scheduler_steplr)
1515

16-
# this zero gradient update is needed to avoid an warning message, issue #8.
16+
# this zero gradient update is needed to avoid a warning message, issue #8.
1717
optim.zero_grad()
1818
optim.step()
1919

0 commit comments

Comments
 (0)