Skip to content

Commit

Permalink
Merge pull request #326 from OceanPang/master
Browse files Browse the repository at this point in the history
fix dcn in BasicBlock
  • Loading branch information
OceanPang authored Feb 17, 2019
2 parents 5305a45 + 2cdc754 commit 8d2f094
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 8d2f094

Please sign in to comment.