From 1b97794e1f6b06d7bdc46cc549ca32ca64a86ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20Ayd=C4=B1n=20Bayta=C5=9F?= Date: Wed, 5 Oct 2016 12:00:23 +0300 Subject: [PATCH] Fix a typo --- Network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Network.py b/Network.py index 3be278a..5c24617 100755 --- a/Network.py +++ b/Network.py @@ -177,7 +177,7 @@ def prepare_image(): class Evaluator(object): def __init__(self): self.loss_value = None - self.grads_values = None + self.grad_values = None def loss(self, x): assert self.loss_value is None @@ -334,4 +334,4 @@ def grads(self, x): imsave(fname, img) end_time = time.time() print('Image saved as', fname) - print('Iteration %d completed in %ds' % (i+1, end_time - start_time)) \ No newline at end of file + print('Iteration %d completed in %ds' % (i+1, end_time - start_time))