From 6d51037a5423a39fb522c37c4e9955ae48a13e9f Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Fri, 9 Jun 2023 17:40:55 +0900 Subject: [PATCH] from local --- .../.decode.py.swp | Bin 45056 -> 49152 bytes .../decode.py | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/egs/tedlium3/ASR/pruned_transducer_stateless_d2v_v2/.decode.py.swp b/egs/tedlium3/ASR/pruned_transducer_stateless_d2v_v2/.decode.py.swp index 41e7a6d3ac62b902476147f51d03f7ca9cbc2119..110dc1041d2b83c11d97ae75dc5e0d9c51bf2a80 100644 GIT binary patch delta 253 zcmZp8z|_#dES6*t=IN_osb|0d1Of~UE>D|MWFt0;z2Rr%n#?TF%NRX*qJTVO-sFt} z;zHaYML@s^p%@I9ChroEoBTsSVDk%sAAFk>SOR$afpX$ZKmur3^k%_=Y(~}~AXj{H zW8t((MH!Rz%Pc1UD+!q_XDqr|q4)_8FDp>(O^}H|4SAad8@4lQegbkqLN{O*DL_F% zQD$C=Mn+{paePWkI&WCRld&AGjIhk3YmoaAYL;-om+{qgS z#3#QH5MVUi{8NCPf8qm$O$salyd@xQOc1Rxn*|H98Ces6TT{pA< diff --git a/egs/tedlium3/ASR/pruned_transducer_stateless_d2v_v2/decode.py b/egs/tedlium3/ASR/pruned_transducer_stateless_d2v_v2/decode.py index 619e6d489..57045038f 100755 --- a/egs/tedlium3/ASR/pruned_transducer_stateless_d2v_v2/decode.py +++ b/egs/tedlium3/ASR/pruned_transducer_stateless_d2v_v2/decode.py @@ -444,7 +444,6 @@ def decode_one_batch( encoder_out_lens=encoder_out_lens, ) for hyp in sp.decode(hyp_tokens): - print(hyp) hyps.append(hyp.split()) elif params.decoding_method == "modified_beam_search": hyp_tokens = modified_beam_search( @@ -555,7 +554,9 @@ def decode_dataset( word_table=word_table, batch=batch, ) - + + print(hyps_dict) + exit() for name, hyps in hyps_dict.items(): this_batch = [] assert len(hyps) == len(texts)