mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-05 15:14:18 +00:00
minor fixes
This commit is contained in:
parent
07899ee85a
commit
9c9b23447b
@ -551,7 +551,6 @@ def decode_dataset(
|
|||||||
assert len(hyps) == len(texts)
|
assert len(hyps) == len(texts)
|
||||||
for cut_id, hyp_words, ref_text in zip(cut_ids, hyps, texts):
|
for cut_id, hyp_words, ref_text in zip(cut_ids, hyps, texts):
|
||||||
ref_words = "".join(ref_text.split())
|
ref_words = "".join(ref_text.split())
|
||||||
hyp_words = "".join(hyp_words)
|
|
||||||
|
|
||||||
this_batch.append((cut_id, ref_words, hyp_words))
|
this_batch.append((cut_id, ref_words, hyp_words))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user