From 125b5fc79a0483bc5357bc90384caca9740ab45d Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Wed, 4 Jan 2023 03:20:54 +0900 Subject: [PATCH] from local --- .../.decode.py.swp | Bin 40960 -> 40960 bytes .../decode.py | 27 +++++++++--------- 2 files changed, 13 insertions(+), 14 deletions(-) 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 13f8fbb9aef071b36b88df4e81df4542ecd20790..10d22d258add7172eb1e6f8584103921c8e1c2b6 100644 GIT binary patch delta 337 zcmXBOJxf9X6vpwBrfFE*5WPl4LP2kk2KjQW2y6;+lWH<35+VwOa;U*OH54tKp*})E zi(I$BTpRiVLD*L)B2p0gV+Vfl@I1@08!o%y3h%}@*K<*8J}#Ug@>Qzs1%9gGH=`%- zd>X;=fd{up$n(GEbtryYDff#Mu!dQf`1Xsu;2Cw?;~EFZB8?Pcc=w51;Svda^oca_ zhzicIff@XIMP5K{N0MayMdDV zau?(C+m_S}{kJ85!MnRYos)KugpJRzG(-beIL8@^SVsgSM|#E(eOzK0Nj%L;HB_;S z7?v=xr7nD&AcqxOTXG3MGmPN@x41zSWvs!$FK9 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 e5f06b049..6316b5528 100755 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/decode.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/decode.py @@ -782,21 +782,20 @@ def main(): test_dl = [test_clean_dl, test_other_dl] for test_set, test_dl in zip(test_sets, test_dl): - 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, - ) + 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, - ) + save_results( + params=params, + test_set_name=test_set, + results_dict=results_dict, + ) ''' test_clean_cuts, test_clean_sets = librispeech.test_clean_cuts(option='user')