mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-12-27 15:08:17 +00:00
parent
3b19311dc1
commit
b40cefa6d2
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user