mirror of
https://github.com/open-mmlab/mmengine.git
synced 2025-06-03 21:54:44 +08:00
[Enhancement] Align the evaluation result in log (#1034)
* align the evaluation result in log * align the evaluation result in log * align the evaluation result in log * align the evaluation result in log * fix test log_processor
This commit is contained in:
parent
0139e6eb15
commit
093068e4ff
@ -307,6 +307,7 @@ class LogProcessor:
|
|||||||
tag[key] = value
|
tag[key] = value
|
||||||
# Log other messages.
|
# Log other messages.
|
||||||
log_items = []
|
log_items = []
|
||||||
|
log_str += ' '
|
||||||
for name, val in chain(tag.items(), non_scalar_tag.items(),
|
for name, val in chain(tag.items(), non_scalar_tag.items(),
|
||||||
time_tag.items()):
|
time_tag.items()):
|
||||||
if isinstance(val, float):
|
if isinstance(val, float):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user