From 4ac1ef743d6312e808113576d25ca7ddb07cc99e Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sat, 10 Dec 2022 12:49:35 +0900 Subject: [PATCH] from local --- icefall/.utils.py.swp | Bin 65536 -> 65536 bytes icefall/utils.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/icefall/.utils.py.swp b/icefall/.utils.py.swp index f8ddcd2bac26fba3331a2383487204964af7a5ef..e89cb8a345562dd63e5a369cc9b6031777d5022a 100644 GIT binary patch delta 244 zcmYkwzY76z9LDhvox=H5Vs%}t++vV{#h^GWETlUzIqB|{iEo)~>Z{1;FQ6MtGWjD| z{Q;~dp0aq?Yj_^U1jdAzt~AS4DVJ6VMTpL>b#H%+JqwI-_*^={WB;DLlr~c8z=nhQH=v(}wE=0@LO#63Wr<_Bre)t0MwKduR delta 245 zcmYkwy$bG}S%lCjgNN=SW$-H#8Pv}|VRK#bN3i-U z49uSL*?8A$d2=pvE(hAls#=Jo6G=jTqJy;UEX=?yYu~wuRN=^l=em!GK^%f0!Np5t z!U|?E0u745zz$~*(FsggLjx+HKonkXq9;7y3P)Ii3V&H%dE*j1C5uenBWc#X9J7fT pn}&?>NYf`hqc>t diff --git a/icefall/utils.py b/icefall/utils.py index 5186e33ac..7eb780a74 100644 --- a/icefall/utils.py +++ b/icefall/utils.py @@ -205,12 +205,12 @@ def encode_supervisions( ( supervisions["sequence_idx"], torch.div( - num_frames + start_frame, subsampling_factor, rounding_mode="floor", ), torch.div( - supervisions["num_frames"], + num_frames, subsampling_factor, rounding_mode="floor", ),