"src/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "1c9d2a03023c64380d69b24f6e6bd0393417f69d"
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