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
5fdd246a
Unverified
Commit
5fdd246a
authored
Aug 23, 2022
by
Mashiro
Committed by
GitHub
Aug 23, 2022
Browse files
[Fix] Fix the log of two ops (#2221)
parent
5947178e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mmcv/ops/deform_conv.py
mmcv/ops/deform_conv.py
+1
-1
mmcv/ops/modulated_deform_conv.py
mmcv/ops/modulated_deform_conv.py
+1
-1
No files found.
mmcv/ops/deform_conv.py
View file @
5fdd246a
...
@@ -402,7 +402,7 @@ class DeformConv2dPack(DeformConv2d):
...
@@ -402,7 +402,7 @@ class DeformConv2dPack(DeformConv2d):
print_log
(
print_log
(
f
'DeformConv2dPack
{
prefix
.
rstrip
(
"."
)
}
is upgraded to '
f
'DeformConv2dPack
{
prefix
.
rstrip
(
"."
)
}
is upgraded to '
'version 2.'
,
'version 2.'
,
logger
=
'
roo
t'
)
logger
=
'
curren
t'
)
super
().
_load_from_state_dict
(
state_dict
,
prefix
,
local_metadata
,
super
().
_load_from_state_dict
(
state_dict
,
prefix
,
local_metadata
,
strict
,
missing_keys
,
unexpected_keys
,
strict
,
missing_keys
,
unexpected_keys
,
...
...
mmcv/ops/modulated_deform_conv.py
View file @
5fdd246a
...
@@ -279,7 +279,7 @@ class ModulatedDeformConv2dPack(ModulatedDeformConv2d):
...
@@ -279,7 +279,7 @@ class ModulatedDeformConv2dPack(ModulatedDeformConv2d):
print_log
(
print_log
(
f
'ModulatedDeformConvPack
{
prefix
.
rstrip
(
"."
)
}
is upgraded to '
f
'ModulatedDeformConvPack
{
prefix
.
rstrip
(
"."
)
}
is upgraded to '
'version 2.'
,
'version 2.'
,
logger
=
'
roo
t'
)
logger
=
'
curren
t'
)
super
().
_load_from_state_dict
(
state_dict
,
prefix
,
local_metadata
,
super
().
_load_from_state_dict
(
state_dict
,
prefix
,
local_metadata
,
strict
,
missing_keys
,
unexpected_keys
,
strict
,
missing_keys
,
unexpected_keys
,
...
...
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