diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.convolution.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.convolution.py.swp index 4df457ce0..a2b3e7645 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.convolution.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.convolution.py.swp differ diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp index 0d62c852f..287e853bf 100644 Binary files a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp and b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/.data2vec_audio.py.swp differ diff --git a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/convolution.py b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/convolution.py index 5d404ca37..e198045c3 100644 --- a/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/convolution.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless_d2v_v2/convolution.py @@ -66,7 +66,6 @@ class ConvolutionModule(nn.Module): """ # exchange the temporal dimension and the feature dimension - residual = x x = x.transpose(1, 2) # GLU mechanism @@ -81,6 +80,4 @@ class ConvolutionModule(nn.Module): x = x.transpose(1, 2) x = self.layer_norm(x) - x += residual - return x