from local

This commit is contained in:
dohe0342 2023-01-25 16:09:54 +09:00
parent cddeef92c5
commit 9116e22ba5
2 changed files with 5 additions and 4 deletions

View File

@ -782,9 +782,9 @@ def main():
test_clean_dl = librispeech.test_dataloaders(test_clean_cuts)
test_other_dl = librispeech.test_dataloaders(test_other_cuts)
test_sets = [f"test-clean-{option}", f"test-other-{option}"]
test_sets = [f"test-clean_sampling", f"test-other_sampling"]
test_dl = [test_clean_dl, test_other_dl]
for test_set, test_dl in zip(test_sets, test_dl):
results_dict = decode_dataset(
dl=test_dl,
@ -795,8 +795,9 @@ def main():
decoding_graph=decoding_graph,
)
results = results_dict['greedy_search']
for res in results:
print(res[0], ' '.join(res[1]))
#for res in results:
# print(res[0], ' '.join(res[1]))
jsons = open(f"{params.manifest_dir}/userlibri/
'''
for test_set, test_dl in zip(test_sets, test_dl):