Skip to content

Commit

Permalink
v0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Jintao-Huang committed Mar 20, 2023
1 parent 242cb1d commit 1e9eaf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mini_lightning/_visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ def read_tensorboard_file(fpath: str) -> Dict[str, List[Item]]:
tags = ea.Tags()["scalars"]
for tag in tags:
values = ea.Scalars(tag)
_res = []
r = []
for v in values:
_res.append({"step": v.step, "value": v.value})
res[tag] = _res
r.append({"step": v.step, "value": v.value})
res[tag] = r
return res


Expand Down

0 comments on commit 1e9eaf5

Please sign in to comment.