From aceb79e00256990e6b77270bb28c7e23e6a9b93b Mon Sep 17 00:00:00 2001 From: Simon Schrodi Date: Mon, 17 Oct 2022 22:06:17 +0200 Subject: [PATCH] Fix typo --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 08dadb02..e004881d 100755 --- a/train.py +++ b/train.py @@ -714,7 +714,7 @@ def main(): elif resume_epoch is not None: start_epoch = resume_epoch if lr_scheduler is not None and start_epoch > 0: - if args.step_on_updates: + if args.sched_on_updates: lr_scheduler.step_update(start_epoch * updates_per_epoch) else: lr_scheduler.step(start_epoch)