Skip to content

Commit

Permalink
Merge branch 'main' of github.com:cvg/glue-factory into rpautrat/fix-…
Browse files Browse the repository at this point in the history
…gluestick-config
  • Loading branch information
rpautrat committed Oct 30, 2023
2 parents 7e61e61 + ab6e6ee commit ae70916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gluefactory/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def sigint_handler(signal, frame):

results = None # fix bug with it saving

lr_scheduler = get_lr_scheduler(optimizer=optimizer, conf=conf.train.lr_scheduler)
lr_scheduler = get_lr_scheduler(optimizer=optimizer, conf=conf.train.lr_schedule)
if args.restore:
optimizer.load_state_dict(init_cp["optimizer"])
if "lr_scheduler" in init_cp:
Expand Down

0 comments on commit ae70916

Please sign in to comment.