Skip to content

Commit

Permalink
Update rec_resnet_vd.py (PaddlePaddle#2681)
Browse files Browse the repository at this point in the history
Fixed out_channels
  • Loading branch information
YukSing12 authored Apr 29, 2021
1 parent 3b19311 commit b40cefa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppocr/modeling/backbones/rec_resnet_vd.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def __init__(self, in_channels=3, layers=50, **kwargs):
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
Expand Down

0 comments on commit b40cefa

Please sign in to comment.