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
766ed65609
commit
c7bfa2c95a
Binary file not shown.
@ -934,8 +934,8 @@ def train_one_epoch(
|
||||
if batch_idx < cur_batch_idx:
|
||||
continue
|
||||
cur_batch_idx = batch_idx
|
||||
|
||||
params.batch_idx_train += 1
|
||||
|
||||
if batch_idx % params.accum_grads == 0: params.batch_idx_train += 1
|
||||
batch_size = len(batch["supervisions"]["text"])
|
||||
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user