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
c3ddcf9d
Unverified
Commit
c3ddcf9d
authored
Jul 13, 2021
by
Junjun2016
Committed by
GitHub
Jul 13, 2021
Browse files
[Fix] Fix typos (#1196)
* fix typos * fix typos
parent
a5684b0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mmcv/cnn/utils/weight_init.py
mmcv/cnn/utils/weight_init.py
+1
-1
mmcv/runner/hooks/evaluation.py
mmcv/runner/hooks/evaluation.py
+1
-1
No files found.
mmcv/cnn/utils/weight_init.py
View file @
c3ddcf9d
...
@@ -446,7 +446,7 @@ def _initialize_override(module, override, cfg):
...
@@ -446,7 +446,7 @@ def _initialize_override(module, override, cfg):
if
name
is
None
:
if
name
is
None
:
raise
ValueError
(
'`override` must contain the key "name",'
raise
ValueError
(
'`override` must contain the key "name",'
f
'but got
{
cp_override
}
'
)
f
'but got
{
cp_override
}
'
)
# if override only has name k
a
y, it means use args in init_cfg
# if override only has name k
e
y, it means use args in init_cfg
if
not
cp_override
:
if
not
cp_override
:
cp_override
.
update
(
cfg
)
cp_override
.
update
(
cfg
)
# if override has name key and other args except type key, it will
# if override has name key and other args except type key, it will
...
...
mmcv/runner/hooks/evaluation.py
View file @
c3ddcf9d
...
@@ -47,7 +47,7 @@ class EvalHook(Hook):
...
@@ -47,7 +47,7 @@ class EvalHook(Hook):
test function ``mmcv.engine.single_gpu_test`` will be used.
test function ``mmcv.engine.single_gpu_test`` will be used.
(default: ``None``)
(default: ``None``)
greater_keys (List[str] | None, optional): Metric keys that will be
greater_keys (List[str] | None, optional): Metric keys that will be
inferred by 'greater' comparison
rule
rule. If ``None``,
inferred by 'greater' comparison rule. If ``None``,
_default_greater_keys will be used. (default: ``None``)
_default_greater_keys will be used. (default: ``None``)
less_keys (List[str] | None, optional): Metric keys that will be
less_keys (List[str] | None, optional): Metric keys that will be
inferred by 'less' comparison rule. If ``None``, _default_less_keys
inferred by 'less' comparison rule. If ``None``, _default_less_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