mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
from local
This commit is contained in:
parent
62995f475b
commit
1f8739c912
Binary file not shown.
@ -542,8 +542,6 @@ def decode_dataset(
|
||||
|
||||
results = defaultdict(list)
|
||||
for batch_idx, batch in enumerate(dl):
|
||||
print(batch)
|
||||
|
||||
texts = batch["supervisions"]["text"]
|
||||
texts = [text.upper() for text in texts]
|
||||
|
||||
@ -558,10 +556,6 @@ def decode_dataset(
|
||||
batch=batch,
|
||||
)
|
||||
|
||||
print('-'*20)
|
||||
print(hyps_dict)
|
||||
print('-'*20)
|
||||
|
||||
for name, hyps in hyps_dict.items():
|
||||
this_batch = []
|
||||
assert len(hyps) == len(texts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user