from local
This commit is contained in:
parent
4291bc0ce2
commit
5aded9bc7c
Binary file not shown.
@ -1310,7 +1310,7 @@ def run(rank, world_size, args, wb=None):
|
|||||||
if (
|
if (
|
||||||
params.multi_optim
|
params.multi_optim
|
||||||
and "scheduler_enc" in checkpoints
|
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")
|
logging.info("Loading enc/dec scheduler state dict")
|
||||||
scheduler_enc.load_state_dict(checkpoints["scheduler_enc"])
|
scheduler_enc.load_state_dict(checkpoints["scheduler_enc"])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user