Skip to content

Commit

Permalink
Fixed the output in stats
Browse files Browse the repository at this point in the history
  • Loading branch information
sharif1093 committed Aug 19, 2019
1 parent 6f674f6 commit 11c8d99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions digideep/utility/stats/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
###################

class StatLogger():
def __init__(self, monitor_cpu=True, monitor_gpu=True, output="/tmp/monitor.log", interval = 2.0):
self.output = "/tmp/monitor.log"
def __init__(self, monitor_cpu=True, monitor_gpu=True, output="/tmp/monitor.log", interval=2.0):
self.output = output
self.monitor = Monitor()
self.monitor.set_output_file(self.output)

Expand Down

0 comments on commit 11c8d99

Please sign in to comment.