From ea11af6132fb551c053bf49fb355f205519a3fde Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Thu, 30 May 2019 20:21:25 +0200 Subject: [PATCH] updates --- train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.py b/train.py index 5aaa48b1..e01f4c00 100644 --- a/train.py +++ b/train.py @@ -287,7 +287,7 @@ def train( del chkpt dt = (time.time() - t0) / 3600 - print('%g epochs completed in %.3f hours.' % (epoch - start_epoch, dt)) + print('%g epochs completed in %.3f hours.' % (epoch - start_epoch + 1, dt)) return results