Skip to content
Snippets Groups Projects
Commit 671ed743 authored by 谢昕辰's avatar 谢昕辰 Committed by MeowZheng
Browse files

fix logdict (#1892)

parent e0499d5a
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ def load_json_logs(json_logs):
prev_step = step
else:
step = prev_step
if step not in log:
if step not in log_dict:
log_dict[step] = defaultdict(list)
for k, v in log.items():
log_dict[step][k].append(v)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment