from local

This commit is contained in:
dohe0342 2023-02-24 15:02:32 +09:00
parent 38e2c69dff
commit f9b2978544
2 changed files with 9 additions and 0 deletions

Binary file not shown.

View File

@ -873,6 +873,7 @@ def main() -> None:
args.return_cuts = True args.return_cuts = True
librispeech = LibriSpeechAsrDataModule(args) librispeech = LibriSpeechAsrDataModule(args)
'''
dev_clean_cuts = librispeech.dev_clean_cuts() dev_clean_cuts = librispeech.dev_clean_cuts()
dev_other_cuts = librispeech.dev_other_cuts() dev_other_cuts = librispeech.dev_other_cuts()
test_clean_cuts = librispeech.test_clean_cuts() test_clean_cuts = librispeech.test_clean_cuts()
@ -885,6 +886,14 @@ def main() -> None:
test_sets = ["dev-clean", "dev-other", "test-clean", "test-other"] test_sets = ["dev-clean", "dev-other", "test-clean", "test-other"]
test_dls = [dev_clean_dl, dev_other_dl, test_clean_dl, test_other_dl] test_dls = [dev_clean_dl, dev_other_dl, test_clean_dl, test_other_dl]
'''
test_clean_cuts = librispeech.test_clean_cuts()
test_clean_dl = librispeech.test_dataloaders(test_clean_cuts)
test_sets = ["test-clean"]
test_dls = [test_clean_dl]
for test_set, test_dl in zip(test_sets, test_dls): for test_set, test_dl in zip(test_sets, test_dls):
results_dict = decode_dataset( results_dict = decode_dataset(