mirror of https://github.com/open-mmlab/mmcv.git
add a return value in TextLoggerHook.log() (#1040)
I need this in a subclass, but I dont want copy the whole `log()` functionpull/1103/head
parent
6cb534b775
commit
a5d4c6528f
|
@ -176,3 +176,4 @@ class TextLoggerHook(LoggerHook):
|
|||
|
||||
self._log_info(log_dict, runner)
|
||||
self._dump_log(log_dict, runner)
|
||||
return log_dict
|
||||
|
|
Loading…
Reference in New Issue