summaryrefslogtreecommitdiff
path: root/util/visualizer.py
diff options
context:
space:
mode:
Diffstat (limited to 'util/visualizer.py')
-rw-r--r--util/visualizer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/visualizer.py b/util/visualizer.py
index 9a6da2a..46348be 100644
--- a/util/visualizer.py
+++ b/util/visualizer.py
@@ -70,8 +70,8 @@ class Visualizer():
win=self.display_id)
# errors: same format as |errors| of plotCurrentErrors
- def print_current_errors(self, epoch, i, errors, start_time):
- message = '(epoch: %d, iters: %d, time: %.3f) ' % (epoch, i, time.time() - start_time)
+ def print_current_errors(self, epoch, i, errors, t):
+ message = '(epoch: %d, iters: %d, time: %.3f) ' % (epoch, i, t)
for k, v in errors.items():
message += '%s: %.3f ' % (k, v)