Merge pull request #1502 from infomon/main

Fix typo of "sched-on-updates" argument
pull/1522/head
Ross Wightman 2 years ago committed by GitHub
commit 44cea489fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save