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
eb65c21d
Unverified
Commit
eb65c21d
authored
Aug 19, 2020
by
su
Committed by
GitHub
Aug 19, 2020
Browse files
Fix issue#505 (#506)
parent
7a6285b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mmcv/runner/base_runner.py
mmcv/runner/base_runner.py
+2
-0
No files found.
mmcv/runner/base_runner.py
View file @
eb65c21d
...
@@ -386,6 +386,8 @@ class BaseRunner(metaclass=ABCMeta):
...
@@ -386,6 +386,8 @@ class BaseRunner(metaclass=ABCMeta):
self
.
register_hook
(
hook
)
self
.
register_hook
(
hook
)
def
register_logger_hooks
(
self
,
log_config
):
def
register_logger_hooks
(
self
,
log_config
):
if
log_config
is
None
:
return
log_interval
=
log_config
[
'interval'
]
log_interval
=
log_config
[
'interval'
]
for
info
in
log_config
[
'hooks'
]:
for
info
in
log_config
[
'hooks'
]:
logger_hook
=
mmcv
.
build_from_cfg
(
logger_hook
=
mmcv
.
build_from_cfg
(
...
...
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