"vscode:/vscode.git/clone" did not exist on "c620bfc2b79a1a5932b4e0731f712b3a79e1e5f8"
Commit 0e8414f9 authored by Myle Ott's avatar Myle Ott
Browse files

Remove sweep_log prefix from json progress bar

parent d62a8651
...@@ -118,7 +118,7 @@ class json_progress_bar(progress_bar): ...@@ -118,7 +118,7 @@ class json_progress_bar(progress_bar):
def print(self, stats): def print(self, stats):
"""Print end-of-epoch stats.""" """Print end-of-epoch stats."""
stats = self._format_stats(self.stats, epoch=self.epoch) stats = self._format_stats(self.stats, epoch=self.epoch)
print("sweep_log: " + json.dumps(stats), flush=True) print(json.dumps(stats), flush=True)
def _format_stats(self, stats, epoch=None, update=None): def _format_stats(self, stats, epoch=None, update=None):
postfix = OrderedDict() postfix = OrderedDict()
......
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