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
a080ad94f0
commit
aeed6c06c9
Binary file not shown.
@ -836,7 +836,7 @@ def compute_loss(
|
|||||||
#texts = batch["supervisions"]["text"]
|
#texts = batch["supervisions"]["text"]
|
||||||
texts = []
|
texts = []
|
||||||
for cut in supervisions['cut']:
|
for cut in supervisions['cut']:
|
||||||
utt_id = cut['id']
|
utt_id = cut.id
|
||||||
print(utt_id)
|
print(utt_id)
|
||||||
print(pl_texts[utt_id])
|
print(pl_texts[utt_id])
|
||||||
texts.append(pl_texts[utt_id])
|
texts.append(pl_texts[utt_id])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user