From ea43b49ef2a9488150a08cd5769f0c2406d20269 Mon Sep 17 00:00:00 2001 From: Daniel Povey Date: Sun, 22 Aug 2021 11:56:22 +0800 Subject: [PATCH] Remove BatchNorm, use LayerNorm --- egs/librispeech/ASR/conformer_lm/conformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/conformer_lm/conformer.py b/egs/librispeech/ASR/conformer_lm/conformer.py index 3014055b4..47f36dcf3 100644 --- a/egs/librispeech/ASR/conformer_lm/conformer.py +++ b/egs/librispeech/ASR/conformer_lm/conformer.py @@ -864,7 +864,7 @@ class ConvolutionModule(nn.Module): groups=channels, bias=bias, ) - self.norm = nn.BatchNorm1d(channels) + self.norm = nn.LayerNorm(channels) self.pointwise_conv2 = nn.Conv1d( channels, channels,