mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
0c78b6761b
commit
e763a4e7b8
Binary file not shown.
@ -1306,11 +1306,7 @@ def run(rank, world_size, args, wb=None):
|
||||
logging.info("Loading optimizer state dict")
|
||||
optimizer.load_state_dict(checkpoints["optimizer"])
|
||||
|
||||
if (
|
||||
checkpoints
|
||||
and ("scheduler" in checkpoints or "scheduler_enc" in checkpoints)
|
||||
and checkpoints["scheduler"] is not None
|
||||
):
|
||||
if checkpoints:
|
||||
if (
|
||||
params.multi_optim
|
||||
and "scheduler_enc" in checkpoints
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user