"magic_pdf/vscode:/vscode.git/clone" did not exist on "1d32722f5b855c01c5079bf76db8d9dc3787692f"
Commit 2cdc7545 authored by pangjm's avatar pangjm
Browse files

fix dcn in BasicBlock

parent 5305a459
......@@ -34,8 +34,10 @@ class BasicBlock(nn.Module):
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)
......
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