Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
SOLOv2-pytorch
Commits
2cdc7545
"magic_pdf/vscode:/vscode.git/clone" did not exist on "1d32722f5b855c01c5079bf76db8d9dc3787692f"
Commit
2cdc7545
authored
Feb 17, 2019
by
pangjm
Browse files
fix dcn in BasicBlock
parent
5305a459
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
mmdet/models/backbones/resnet.py
mmdet/models/backbones/resnet.py
+3
-1
No files found.
mmdet/models/backbones/resnet.py
View file @
2cdc7545
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment