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
b2530f8489
commit
3b140f3576
Binary file not shown.
@ -1018,6 +1018,8 @@ def train_one_epoch(
|
||||
scheduler_enc, scheduler_dec = scheduler[0], scheduler[1]
|
||||
|
||||
for batch_idx, batch in enumerate(train_dl):
|
||||
if params.batch_idx_train > params.num_updates:
|
||||
break
|
||||
if batch_idx < cur_batch_idx:
|
||||
continue
|
||||
cur_batch_idx = batch_idx
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user