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
9b36c1ab
Unverified
Commit
9b36c1ab
authored
Aug 09, 2020
by
Jerry Jiarui XU
Committed by
GitHub
Aug 09, 2020
Browse files
Fixed iter_base_runner logger (#474)
parent
edbbc0f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mmcv/runner/iter_based_runner.py
mmcv/runner/iter_based_runner.py
+2
-1
No files found.
mmcv/runner/iter_based_runner.py
View file @
9b36c1ab
...
...
@@ -222,5 +222,6 @@ class IterBasedRunner(BaseRunner):
self
.
register_checkpoint_hook
(
checkpoint_config
)
self
.
register_hook
(
IterTimerHook
())
if
log_config
is
not
None
:
log_config
.
setdefault
(
'by_epoch'
,
False
)
for
info
in
log_config
[
'hooks'
]:
info
.
setdefault
(
'by_epoch'
,
False
)
self
.
register_logger_hooks
(
log_config
)
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