Update streaming_ctc_decode.py

This commit is contained in:
jinzr 2023-12-07 11:15:45 +08:00
parent 206f2143e8
commit 44f0c8bd8a

View File

@ -631,8 +631,12 @@ def main():
librispeech = LibriSpeechAsrDataModule(args)
test_cuts = librispeech.test_cuts()
test_sets = {"test": test_cuts}
test_clean_cuts = librispeech.test_clean_cuts()
test_other_cuts = librispeech.test_other_cuts()
test_sets = {
"test-clean": test_clean_cuts,
"test-other": test_other_cuts,
}
for test_set, test_cut in test_sets.items():
results_dict = decode_dataset(