diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.decode.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.decode.py.swp index 71b38efcb..429a25d2b 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.decode.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.decode.py.swp differ diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/decode.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/decode.py index 6db0f4f65..51f0f4ccd 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/decode.py @@ -785,6 +785,20 @@ def main(): test_sets = [f"test-clean-{option}", f"test-other-{option}"] 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, + params=params, + model=model, + sp=sp, + word_table=word_table, + decoding_graph=decoding_graph, + ) + results = results_dict['greedy_search'] + for res in results: + print(res[0], ' '.join(res[1])) + + ''' for test_set, test_dl in zip(test_sets, test_dl): results_dict = decode_dataset( dl=test_dl, @@ -807,7 +821,7 @@ def main(): test_set_name=test_set, results_dict=results_dict, ) - + ''' ''' test_clean_cuts, test_clean_sets = librispeech.test_clean_cuts(option='user') test_other_cuts, test_other_sets = librispeech.test_other_cuts(option='user')