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
81558853
Commit
81558853
authored
Jan 09, 2019
by
ThangVu
Browse files
minor
parent
bee93859
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 @
81558853
...
...
@@ -344,7 +344,7 @@ class ResNet(nn.Module):
for
m
in
self
.
modules
():
if
isinstance
(
m
,
nn
.
Conv2d
):
kaiming_init
(
m
)
elif
isinstance
(
m
,
(
nn
.
BatchNorm
,
nn
.
GroupNorm
)):
elif
isinstance
(
m
,
(
nn
.
BatchNorm
2d
,
nn
.
GroupNorm
)):
constant_init
(
m
,
1
)
# zero init for last norm layer https://arxiv.org/abs/1706.02677
...
...
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