Skip to content

Commit

Permalink
Fixed error at DeformConvPack (open-mmlab#545)
Browse files Browse the repository at this point in the history
Fixed error `TypeError: super(type, obj): obj must be an instance or subtype of type` .
  • Loading branch information
lyuwenyu authored and hellock committed Apr 25, 2019
1 parent d0f607b commit 5fefffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet/ops/dcn/modules/deform_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def forward(self, x, offset):
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,
Expand Down

0 comments on commit 5fefffc

Please sign in to comment.