diff --git a/ppocr/modeling/backbones/rec_resnet_vd.py b/ppocr/modeling/backbones/rec_resnet_vd.py index 6837ea0fb2da3347fd8e115f859224e2a61fd578..0187deb96f111a2c2b545c7be42dba48c7352e17 100644 --- a/ppocr/modeling/backbones/rec_resnet_vd.py +++ b/ppocr/modeling/backbones/rec_resnet_vd.py @@ -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