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
10c5773b
Commit
10c5773b
authored
Apr 26, 2022
by
LDOUBLEV
Browse files
fix
parent
62a01f7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ppocr/modeling/necks/db_fpn.py
ppocr/modeling/necks/db_fpn.py
+1
-0
No files found.
ppocr/modeling/necks/db_fpn.py
View file @
10c5773b
...
...
@@ -120,6 +120,7 @@ class CALayer(nn.Layer):
def
__init__
(
self
,
in_channels
,
out_channels
,
kernel_size
,
shortcut
=
True
):
super
(
CALayer
,
self
).
__init__
()
weight_attr
=
paddle
.
nn
.
initializer
.
KaimingUniform
()
self
.
out_channels
=
out_channels
self
.
in_conv
=
nn
.
Conv2D
(
in_channels
=
in_channels
,
out_channels
=
self
.
out_channels
,
...
...
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