mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-09 14:05:33 +00:00
Fix an error in TDNN-LSTM training.
This commit is contained in:
parent
398ed80d7a
commit
c9222bdb09
@ -501,6 +501,7 @@ def run(rank, world_size, args):
|
||||
)
|
||||
scheduler = StepLR(optimizer, step_size=8, gamma=0.1)
|
||||
|
||||
if checkpoints:
|
||||
optimizer.load_state_dict(checkpoints["optimizer"])
|
||||
scheduler.load_state_dict(checkpoints["scheduler"])
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user