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
5f689ccdd2
commit
fbb80af5ec
Binary file not shown.
@ -1026,6 +1026,7 @@ def train_one_epoch(
|
||||
|
||||
if batch_idx % params.accum_grads == 0: params.batch_idx_train += 1
|
||||
batch_size = len(batch["supervisions"]["text"])
|
||||
print(batch_size)
|
||||
|
||||
try:
|
||||
with torch.cuda.amp.autocast(enabled=params.use_fp16):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user