mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 06:34:20 +00:00
Merge branch 'dev/aishell-zipformer-bbpe' of https://github.com/jinzr/icefall into dev/aishell-zipformer-bbpe
This commit is contained in:
commit
07899ee85a
@ -550,7 +550,9 @@ def decode_dataset(
|
||||
this_batch = []
|
||||
assert len(hyps) == len(texts)
|
||||
for cut_id, hyp_words, ref_text in zip(cut_ids, hyps, texts):
|
||||
ref_words = ref_text.split()
|
||||
ref_words = "".join(ref_text.split())
|
||||
hyp_words = "".join(hyp_words)
|
||||
|
||||
this_batch.append((cut_id, ref_words, hyp_words))
|
||||
|
||||
results[name].extend(this_batch)
|
||||
|
Loading…
x
Reference in New Issue
Block a user