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
b40cefa6
Unverified
Commit
b40cefa6
authored
Apr 29, 2021
by
YukSing
Committed by
GitHub
Apr 29, 2021
Browse files
Update rec_resnet_vd.py (#2681)
Fixed out_channels
parent
3b19311d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ppocr/modeling/backbones/rec_resnet_vd.py
ppocr/modeling/backbones/rec_resnet_vd.py
+1
-1
No files found.
ppocr/modeling/backbones/rec_resnet_vd.py
View file @
b40cefa6
...
...
@@ -249,7 +249,7 @@ class ResNet(nn.Layer):
name
=
conv_name
))
shortcut
=
True
self
.
block_list
.
append
(
bottleneck_block
)
self
.
out_channels
=
num_filters
[
block
]
self
.
out_channels
=
num_filters
[
block
]
*
4
else
:
for
block
in
range
(
len
(
depth
)):
shortcut
=
False
...
...
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