Commit 75c857db authored by Yuxin Wu's avatar Yuxin Wu

fix monitors

parent 244e87c4
...@@ -441,7 +441,7 @@ class ScalarHistory(TrainingMonitor): ...@@ -441,7 +441,7 @@ class ScalarHistory(TrainingMonitor):
Only used by monitors internally. Only used by monitors internally.
""" """
def _setup_graph(self): def __init__(self):
self._dic = defaultdict(list) self._dic = defaultdict(list)
def process_scalar(self, name, val): def process_scalar(self, name, val):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment