from local

This commit is contained in:
dohe0342 2022-12-13 11:41:34 +09:00
parent e7e5ace904
commit 4291bc0ce2
2 changed files with 1 additions and 1 deletions

View File

@ -1310,7 +1310,7 @@ def run(rank, world_size, args, wb=None):
if (
params.multi_optim
and "scheduler_enc" in checkpoints
and checkpoin["scheduler_enc"] is not None
and checkpoint["scheduler_enc"] is not None
):
logging.info("Loading enc/dec scheduler state dict")
scheduler_enc.load_state_dict(checkpoints["scheduler_enc"])