From 4aa3796210206fd0d61d238b1170933cc3b281af Mon Sep 17 00:00:00 2001 From: dohe0342 Date: Sun, 29 Jan 2023 19:34:50 +0900 Subject: [PATCH] from local --- .../.conformer.py.swp | Bin 94208 -> 94208 bytes .../pruned_transducer_stateless5/conformer.py | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless5/.conformer.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless5/.conformer.py.swp index 8fb584656bc98ab47ed3156ab881a2dd1181511b..378e685023b6a002b95c6af22ede85782072527a 100644 GIT binary patch delta 106 zcmZp8z}oPDRW!*U%+puFQqO<^2m}}yn!T?jU*0HsTYyn!^G5+;ecr3w3=D}p5J{QI tf)2%uiJMy;ZgVT3fYhAKG=)rs%sho?BOOy63mrql<_4eb4L*zw$^hK{8@2!d delta 82 zcmZp8z}oPDRW!*U%+puFQqO<^2m}}yK6zbB?%XJPTYyn^^G5+;ecnyn3=B>@5J}m| hf)2%uDVtjzZgaB~l$J0|PV|v!Zt&UO;KSIU3;??87j^&u diff --git a/egs/librispeech/ASR/pruned_transducer_stateless5/conformer.py b/egs/librispeech/ASR/pruned_transducer_stateless5/conformer.py index 80e026a61..bd058f302 100644 --- a/egs/librispeech/ASR/pruned_transducer_stateless5/conformer.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless5/conformer.py @@ -698,8 +698,7 @@ class ConformerEncoder(nn.Module): for i, mod in enumerate(self.layers): if i == 0: residual = output - elif i in [2,5,8]: - residual = output + elif i in [2,5,8,11]: output = mod( output, pos_emb,