We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ae3418 commit 7ec6e58Copy full SHA for 7ec6e58
examples/MNIST/test.py
@@ -17,7 +17,7 @@ def validate(dataset_x, dataset_y, model, epoch, batch_size):
17
18
nerrors += sum(mini_batch_targets != mini_batch_prediction)
19
20
- progress.update(j * batch_size)
+ progress.update((j+1) * batch_size)
21
22
progress.finish()
23
accuracy = 1 - float(nerrors)/dataset_x.shape[0]
0 commit comments