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
fbb80af5ec
commit
39dd2687b4
Binary file not shown.
@ -1026,7 +1026,6 @@ 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