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
8d2f0942
"docs/en/vscode:/vscode.git/clone" did not exist on "f3a624e3225ee8be4b40534cd6d478d3cb99cfa7"
Unverified
Commit
8d2f0942
authored
Feb 17, 2019
by
Jiangmiao Pang
Committed by
GitHub
Feb 17, 2019
Browse files
Merge pull request #326 from OceanPang/master
fix dcn in BasicBlock
parents
5305a459
2cdc7545
Changes
1
Hide 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 @
8d2f0942
...
@@ -34,8 +34,10 @@ class BasicBlock(nn.Module):
...
@@ -34,8 +34,10 @@ class BasicBlock(nn.Module):
downsample
=
None
,
downsample
=
None
,
style
=
'pytorch'
,
style
=
'pytorch'
,
with_cp
=
False
,
with_cp
=
False
,
normalize
=
dict
(
type
=
'BN'
)):
normalize
=
dict
(
type
=
'BN'
),
dcn
=
None
):
super
(
BasicBlock
,
self
).
__init__
()
super
(
BasicBlock
,
self
).
__init__
()
assert
dcn
is
None
,
"Not implemented yet."
self
.
norm1_name
,
norm1
=
build_norm_layer
(
normalize
,
planes
,
postfix
=
1
)
self
.
norm1_name
,
norm1
=
build_norm_layer
(
normalize
,
planes
,
postfix
=
1
)
self
.
norm2_name
,
norm2
=
build_norm_layer
(
normalize
,
planes
,
postfix
=
2
)
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