commit 64d0763dbc5bee1bdea4aad867f2ecb4bac5ace9
parent d9290b3351adbe35acce33915509364c10f609e1
Author: Étienne Simon <esimon@esimon.eu>
Date: Wed, 18 Jun 2014 10:55:53 +0200
Fix validation log on training data
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/model.py b/model.py
@@ -167,7 +167,7 @@ class Model(object):
if self.config['validate on training data']:
(train_mean, train_std, train_top10, _) = self.error('train')
- log('Validation model "{0}" epoch {1:<5} train mean: {2:<15} std: {3:<15} train top10: {4:<15}\n'.format(self.tag, self.epochtrain_mean, train_std, train_top10))
+ log('Validation model "{0}" epoch {1:<5} train mean: {2:<15} std: {3:<15} train top10: {4:<15}\n'.format(self.tag, self.epoch, train_mean, train_std, train_top10))
def test(self, save=True):
""" Test the model. """