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
21bada32
Unverified
Commit
21bada32
authored
May 25, 2022
by
Alex Yang
Committed by
GitHub
May 25, 2022
Browse files
[fix]:fix docstrings in EvalHook (#1978)
parent
c90f2be0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mmcv/runner/hooks/evaluation.py
mmcv/runner/hooks/evaluation.py
+4
-4
No files found.
mmcv/runner/hooks/evaluation.py
View file @
21bada32
...
@@ -160,10 +160,10 @@ class EvalHook(Hook):
...
@@ -160,10 +160,10 @@ class EvalHook(Hook):
specified as 'greater'.
specified as 'greater'.
2. Or if the key indicator is in ``self.less_keys``, the rule will be
2. Or if the key indicator is in ``self.less_keys``, the rule will be
specified as 'less'.
specified as 'less'.
3. Or if
the key indicator is equal to the substring in any one item
3. Or if
any one item in ``self.greater_keys`` is a substring of
in ``self.greater_keys``
, the rule will be specified as 'greater'.
key_indicator
, the rule will be specified as 'greater'.
4. Or if
the key indicator is equal to the substring in any one item
4. Or if
any one item in ``self.less_keys`` is a substring of
in ``self.less_keys``
, the rule will be specified as 'less'.
key_indicator
, the rule will be specified as 'less'.
Args:
Args:
rule (str | None): Comparison rule for best score.
rule (str | None): Comparison rule for best score.
...
...
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