from local

This commit is contained in:
dohe0342 2023-06-09 18:05:19 +09:00
parent 62995f475b
commit 1f8739c912
2 changed files with 0 additions and 6 deletions

View File

@ -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)