Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ class DeformConv(nn.Module): ...@@ -59,7 +59,7 @@ class DeformConv(nn.Module):
class DeformConvPack(DeformConv): class DeformConvPack(DeformConv):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
super(ModulatedDeformConvPack, self).__init__(*args, **kwargs) super(DeformConvPack, self).__init__(*args, **kwargs)
self.conv_offset = nn.Conv2d( self.conv_offset = nn.Conv2d(
self.in_channels, self.in_channels,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment