from local

This commit is contained in:
dohe0342 2022-12-13 11:42:47 +09:00
parent 4291bc0ce2
commit 5aded9bc7c
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 checkpoint["scheduler_enc"] is not None
and checkpoints["scheduler_enc"] is not None
):
logging.info("Loading enc/dec scheduler state dict")
scheduler_enc.load_state_dict(checkpoints["scheduler_enc"])