Commit 0e1f3b0d authored by lyuwenyu's avatar lyuwenyu Committed by Kai Chen
Browse files

Fixed error at `DeformConvPack` (#545)

Fixed error `TypeError: super(type, obj): obj must be an instance or subtype of type` .
parent 1cbc88e3
......@@ -59,7 +59,7 @@ class DeformConv(nn.Module):
class DeformConvPack(DeformConv):
def __init__(self, *args, **kwargs):
super(ModulatedDeformConvPack, self).__init__(*args, **kwargs)
super(DeformConvPack, self).__init__(*args, **kwargs)
self.conv_offset = nn.Conv2d(
self.in_channels,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment