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
864a0935a4
commit
401555216a
Binary file not shown.
@ -684,8 +684,8 @@ def train_one_epoch(
|
||||
|
||||
params.batch_idx_train += 1
|
||||
batch_size = len(batch["supervisions"]["text"])
|
||||
print(batch["supervisions"])
|
||||
batch_name = batch["supervisions"]["uttid"]
|
||||
#print(batch["supervisions"])
|
||||
batch_name = batch["supervisions"]["id"]
|
||||
|
||||
with torch.cuda.amp.autocast(enabled=params.use_fp16):
|
||||
loss, loss_info = compute_loss(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user