Skip to content

Commit 07fbde2

Browse files
committed
Merge master fix
2 parents 29fd765 + c14cf95 commit 07fbde2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

python/train.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ def load():
877877

878878
else:
879879
logging.info("WARNING: Optimizer not found in state dict, using fresh optimizer")
880+
train_state["optimizer_name"] = optimizer_name
880881

881882
return (model_config, ddp_model, raw_model, swa_model, optimizer, metrics_obj, running_metrics, train_state, last_val_metrics)
882883

0 commit comments

Comments
 (0)