mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-08 16:44:20 +00:00
minor fix
This commit is contained in:
parent
c0f2abd2a7
commit
bd053ca90a
@ -76,9 +76,7 @@ def save_checkpoint(
|
||||
|
||||
if isinstance(model, DDP):
|
||||
model = model.module
|
||||
# import pdb
|
||||
|
||||
# pdb.set_trace()
|
||||
|
||||
checkpoint = {
|
||||
"model": model.state_dict(),
|
||||
"optimizer": optimizer.state_dict() if optimizer is not None else None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user