Unverified Commit c3ddcf9d authored by Junjun2016's avatar Junjun2016 Committed by GitHub
Browse files

[Fix] Fix typos (#1196)

* fix typos

* fix typos
parent a5684b0d
......@@ -446,7 +446,7 @@ def _initialize_override(module, override, cfg):
if name is None:
raise ValueError('`override` must contain the key "name",'
f'but got {cp_override}')
# if override only has name kay, it means use args in init_cfg
# if override only has name key, it means use args in init_cfg
if not cp_override:
cp_override.update(cfg)
# if override has name key and other args except type key, it will
......
......@@ -47,7 +47,7 @@ class EvalHook(Hook):
test function ``mmcv.engine.single_gpu_test`` will be used.
(default: ``None``)
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``)
less_keys (List[str] | None, optional): Metric keys that will be
inferred by 'less' comparison rule. If ``None``, _default_less_keys
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment