Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
e28521e3
Commit
e28521e3
authored
Oct 13, 2021
by
LDOUBLEV
Browse files
fix bug
parent
7fbe65e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppocr/modeling/necks/rnn.py
ppocr/modeling/necks/rnn.py
+1
-1
No files found.
ppocr/modeling/necks/rnn.py
View file @
e28521e3
...
@@ -51,7 +51,7 @@ class EncoderWithFC(nn.Layer):
...
@@ -51,7 +51,7 @@ class EncoderWithFC(nn.Layer):
super
(
EncoderWithFC
,
self
).
__init__
()
super
(
EncoderWithFC
,
self
).
__init__
()
self
.
out_channels
=
hidden_size
self
.
out_channels
=
hidden_size
weight_attr
,
bias_attr
=
get_para_bias_attr
(
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
(
self
.
fc
=
nn
.
Linear
(
in_channels
,
in_channels
,
hidden_size
,
hidden_size
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment