From 041af601da0f41524223b5ec972860ac1dae498a Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sat, 25 Feb 2023 18:09:24 +0900 Subject: [PATCH] from local --- icefall/.decode.py.swp | Bin 65536 -> 65536 bytes icefall/decode.py | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/icefall/.decode.py.swp b/icefall/.decode.py.swp index 244eb820883ad07722d3e9a12dd3df3649924b83..9b55b2671216847989c89cb27ac9dc0034b89c6b 100644 GIT binary patch delta 366 zcmXBPKS%;`7{>9}xX#qBGVotZw-p(taTo>S98pWqP=lBV4G~B<33@dKLGUA@A#8DK z$!<<)XzkBZxJ_<10~a_%78bl{dqnO~Mgn1kV4yp|77Y}Ug@p-x z@TP;B+i_{9dY@@JjmJ#CGyR)%sbp_VmAaNH^@6I?)YN$^N{%RBud1G#5j|yYBw}$@ XO@~#c6;KDQQT3D#>G|#5{DS-e&Gb?e delta 355 zcmXBPK`4W99LDkA%j?~2HeTA667K~EwU#0@%}ox=qR3h)Yc~hlaR=}9byELQ4l6lK zx#>+QH90s+OKGo_i-=sDEC=H&Pknk0zkY|uwsqUqqZ^5pg|sytPYCG|xw!qxziypI zv!<4Gw@vjJx-vv=eE-*^GCyKF#cq)}-oqlt$RdLw3?hW*kjOd8C}AE02;;g-WDm<& zLI7_;kq3CF;}R#>M-i)-g+C~HX$C}IaECKE$YC5|e0GXdu!cFLFo6*?{rsW~2RSUF z4-IDiO|AG`O+PT&Ez45X+Hjj?xz*ZwhpT^2YRdVEs7z~0HR}E9&>N#8>Zx_4(%z`r Q^?KEPDrOWmi-j5a1yJ!$lK=n! diff --git a/icefall/decode.py b/icefall/decode.py index 124f3cce7..53ab39ecc 100644 --- a/icefall/decode.py +++ b/icefall/decode.py @@ -967,11 +967,12 @@ def rescore_with_attention_decoder( ngram_lm_scale_list = [ngram_lm_scale] if attention_scale is None: + attention_scale_list = [1.0] #attention_scale_list = [0.01, 0.05, 0.08] #attention_scale_list += [0.1, 0.3, 0.5, 0.6, 0.7, 0.9, 1.0] - attention_scale_list = [1.1, 1.2, 1.3, 1.5, 1.7, 1.9, 2.0] - attention_scale_list += [2.1, 2.2, 2.3, 2.5, 3.0, 4.0, 5.0] - attention_scale_list += [6.0, 7.0, 8.0, 9.0, 10.0, 20.0, 30.0, 40.0] + #attention_scale_list = [1.1, 1.2, 1.3, 1.5, 1.7, 1.9, 2.0] + #attention_scale_list += [2.1, 2.2, 2.3, 2.5, 3.0, 4.0, 5.0] + #attention_scale_list += [6.0, 7.0, 8.0, 9.0, 10.0, 20.0, 30.0, 40.0] else: attention_scale_list = [attention_scale]