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
ea64b512
Unverified
Commit
ea64b512
authored
Mar 03, 2022
by
XiwuChen
Committed by
GitHub
Mar 03, 2022
Browse files
fix typo in conv.py (#1759)
Fix typo in conv.py.
parent
34f227ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmcv/cnn/bricks/conv.py
mmcv/cnn/bricks/conv.py
+1
-1
No files found.
mmcv/cnn/bricks/conv.py
View file @
ea64b512
...
@@ -35,7 +35,7 @@ def build_conv_layer(cfg, *args, **kwargs):
...
@@ -35,7 +35,7 @@ def build_conv_layer(cfg, *args, **kwargs):
layer_type
=
cfg_
.
pop
(
'type'
)
layer_type
=
cfg_
.
pop
(
'type'
)
if
layer_type
not
in
CONV_LAYERS
:
if
layer_type
not
in
CONV_LAYERS
:
raise
KeyError
(
f
'Unrecognized
norm
type
{
layer_type
}
'
)
raise
KeyError
(
f
'Unrecognized
layer
type
{
layer_type
}
'
)
else
:
else
:
conv_layer
=
CONV_LAYERS
.
get
(
layer_type
)
conv_layer
=
CONV_LAYERS
.
get
(
layer_type
)
...
...
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