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
6fbbacf94c
commit
f3cbdad979
Binary file not shown.
@ -1129,6 +1129,7 @@ def train_one_epoch(
|
||||
and params.batch_idx_train % params.save_every_n == 0
|
||||
):
|
||||
params.cur_batch_idx = batch_idx
|
||||
'''
|
||||
save_checkpoint_with_global_batch_idx(
|
||||
out_dir=params.exp_dir,
|
||||
global_batch_idx=params.batch_idx_train,
|
||||
@ -1141,6 +1142,7 @@ def train_one_epoch(
|
||||
scaler=scaler,
|
||||
rank=rank,
|
||||
)
|
||||
'''
|
||||
del params.cur_batch_idx
|
||||
|
||||
if rank == 0:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user