Skip to content

Commit

Permalink
add a return value in TextLoggerHook.log() (#1040)
Browse files Browse the repository at this point in the history
I need this in a subclass, but I dont want copy the whole `log()` function
  • Loading branch information
cww97 authored Jun 14, 2021
1 parent 6cb534b commit a5d4c65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mmcv/runner/hooks/logger/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,4 @@ def log(self, runner):

self._log_info(log_dict, runner)
self._dump_log(log_dict, runner)
return log_dict

0 comments on commit a5d4c65

Please sign in to comment.