From 079da5c02fd99ef35d7cad0e20c2924b7c2bcffd Mon Sep 17 00:00:00 2001 From: junyanz Date: Sun, 18 Feb 2018 22:53:26 -0500 Subject: fix test_model & add timer for data loader & rename identity loss --- util/visualizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/visualizer.py b/util/visualizer.py index b22f235..fd8140d 100644 --- a/util/visualizer.py +++ b/util/visualizer.py @@ -114,8 +114,8 @@ class Visualizer(): win=self.display_id) # errors: same format as |errors| of plotCurrentErrors - def print_current_errors(self, epoch, i, errors, t): - message = '(epoch: %d, iters: %d, time: %.3f) ' % (epoch, i, t) + def print_current_errors(self, epoch, i, errors, t, t_data): + message = '(epoch: %d, iters: %d, time: %.3f, data: %.3f) ' % (epoch, i, t, t_data) for k, v in errors.items(): message += '%s: %.3f ' % (k, v) -- cgit v1.2.3-70-g09d2