from local

This commit is contained in:
dohe0342 2022-12-13 11:40:56 +09:00
parent 5423d19ed1
commit e7e5ace904
2 changed files with 1 additions and 0 deletions

View File

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