Skip to content

Commit

Permalink
fix dcn in BasicBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
OceanPang committed Feb 17, 2019
1 parent 5305a45 commit 2cdc754
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mmdet/models/backbones/resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ def __init__(self,
downsample=None,
style='pytorch',
with_cp=False,
normalize=dict(type='BN')):
normalize=dict(type='BN'),
dcn=None):
super(BasicBlock, self).__init__()
assert dcn is None, "Not implemented yet."

self.norm1_name, norm1 = build_norm_layer(normalize, planes, postfix=1)
self.norm2_name, norm2 = build_norm_layer(normalize, planes, postfix=2)
Expand Down

0 comments on commit 2cdc754

Please sign in to comment.