From e28521e3019cd82792cb2729c3ac849b54d3516d Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 13 Oct 2021 16:26:26 +0800 Subject: [PATCH] fix bug --- ppocr/modeling/necks/rnn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppocr/modeling/necks/rnn.py b/ppocr/modeling/necks/rnn.py index de87b3d9..86e64902 100644 --- a/ppocr/modeling/necks/rnn.py +++ b/ppocr/modeling/necks/rnn.py @@ -51,7 +51,7 @@ class EncoderWithFC(nn.Layer): super(EncoderWithFC, self).__init__() self.out_channels = hidden_size weight_attr, bias_attr = get_para_bias_attr( - l2_decay=0.00001, k=in_channels, name='reduce_encoder_fea') + l2_decay=0.00001, k=in_channels) self.fc = nn.Linear( in_channels, hidden_size, -- GitLab