Skip to content

Commit

Permalink
Update rnn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LDOUBLEV authored Oct 13, 2021
1 parent 30d908b commit e7b9822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppocr/modeling/necks/rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def __init__(self, in_channels, hidden_size):
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,
Expand Down

0 comments on commit e7b9822

Please sign in to comment.