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
92fe95be
Unverified
Commit
92fe95be
authored
May 13, 2019
by
Kai Chen
Committed by
GitHub
May 13, 2019
Browse files
bug fix for backward compatibility (#643)
parent
1ec92ef4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmdet/models/backbones/resnet.py
mmdet/models/backbones/resnet.py
+1
-1
No files found.
mmdet/models/backbones/resnet.py
View file @
92fe95be
...
@@ -108,7 +108,6 @@ class Bottleneck(nn.Module):
...
@@ -108,7 +108,6 @@ class Bottleneck(nn.Module):
self
.
planes
=
planes
self
.
planes
=
planes
self
.
stride
=
stride
self
.
stride
=
stride
self
.
dilation
=
dilation
self
.
dilation
=
dilation
self
.
downsample
=
downsample
self
.
style
=
style
self
.
style
=
style
self
.
with_cp
=
with_cp
self
.
with_cp
=
with_cp
self
.
conv_cfg
=
conv_cfg
self
.
conv_cfg
=
conv_cfg
...
@@ -185,6 +184,7 @@ class Bottleneck(nn.Module):
...
@@ -185,6 +184,7 @@ class Bottleneck(nn.Module):
self
.
add_module
(
self
.
norm3_name
,
norm3
)
self
.
add_module
(
self
.
norm3_name
,
norm3
)
self
.
relu
=
nn
.
ReLU
(
inplace
=
True
)
self
.
relu
=
nn
.
ReLU
(
inplace
=
True
)
self
.
downsample
=
downsample
@
property
@
property
def
norm1
(
self
):
def
norm1
(
self
):
...
...
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