DingXiaoH / ACNet

ACNet: Strengthening the Kernel Skeletons for Powerful CNN via Asymmetric Convolution Blocks
MIT License
829 stars 133 forks source link

TypeError problem #10

Closed JunMingLu closed 3 years ago

JunMingLu commented 4 years ago

return super(ACNetBuilder, self).Conv2dBN(in_channels=in_channels, out_channels=out_channels, kernel_size=kernel_size, stride=stride, TypeError: super(type, obj): obj must be an instance or subtype of type

when I replace previous conv2d with the new Conv2d or Conv2dBN, this TypeError occur. Have you ever met this problem . Can you tell me how to solve this ? thankx