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 5b88f45d3..49e1fb9ed 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_old.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.decode_old.py.swp index d7b84cea2..0609806b6 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.decode_old.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.decode_old.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 fa088df81..ea11b88a1 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/decode.py @@ -862,37 +862,8 @@ def main(): 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') - - test_clean_dl = [librispeech.test_dataloaders(user) for user in test_clean_cuts] - test_other_dl = [librispeech.test_dataloaders(user) for user in test_other_cuts] - - test_sets = [test_clean_sets, test_other_sets] - test_dl = [test_clean_dl, test_other_dl] - - for sets, dls in zip(test_sets, test_dl): - print(len(sets), len(dls)) - for test_set, test_dl in zip(sets, dls): - results_dict = decode_dataset( - dl=test_dl, - params=params, - model=model, - sp=sp, - word_table=word_table, - decoding_graph=decoding_graph, - ) - - save_results( - params=params, - test_set_name=test_set, - results_dict=results_dict, - ) - ''' logging.info("Done!") if __name__ == "__main__": - print('fuck') main()