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
OpenDAS
MMCV
Commits
6fd6ada6
Unverified
Commit
6fd6ada6
authored
Jun 22, 2021
by
Miao Zheng
Committed by
GitHub
Jun 22, 2021
Browse files
[Fix] Delete warning report (#1126)
parent
004c0067
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
mmcv/cnn/utils/weight_init.py
mmcv/cnn/utils/weight_init.py
+1
-3
No files found.
mmcv/cnn/utils/weight_init.py
View file @
6fd6ada6
...
@@ -115,9 +115,7 @@ class BaseInit(object):
...
@@ -115,9 +115,7 @@ class BaseInit(object):
but got a
{
type
(
layer
)
}
'
)
but got a
{
type
(
layer
)
}
'
)
else
:
else
:
layer
=
[]
layer
=
[]
warnings
.
warn
(
'init_cfg without layer key, if you do not define override'
' key either, this init_cfg will do nothing'
)
if
bias_prob
is
not
None
:
if
bias_prob
is
not
None
:
self
.
bias
=
bias_init_with_prob
(
bias_prob
)
self
.
bias
=
bias_init_with_prob
(
bias_prob
)
else
:
else
:
...
...
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