Permalink
Browse files

get rid of printSummary everywhere

  • Loading branch information...
jma127 committed May 10, 2018
1 parent 59c49d1 commit 39adc364ad95ae16e19f656e4e5b75bd89cc4aa1
@@ -118,6 +118,4 @@ class GCWrapper:
# import signal and send signal to handler
# not used in Go?
def reg_sig_int(self):
def printSummary(self):
```
```
@@ -457,7 +457,3 @@ def signal_handler(s, frame):
self.stop()
sys.exit(0)
signal.signal(signal.SIGINT, signal_handler)

def printSummary(self):
'''Print summary'''
self.GC.printSummary()
@@ -108,5 +108,4 @@ def run(self):
self.success_train_count,
self.total_train_count))

self.GC.printSummary()
self.GC.stop()
@@ -110,8 +110,6 @@ def run(self):
if self.episode_summary is not None:
self.episode_summary(k)

self.GC.printSummary()

if self.before_stop is not None:
self.before_stop()
self.GC.stop()

0 comments on commit 39adc36

Please sign in to comment.