Skip to content

Commit

Permalink
reduce test size
Browse files Browse the repository at this point in the history
  • Loading branch information
MorvanZhou committed Aug 9, 2017
1 parent f81d037 commit 6ca0f21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tensorflowTUT/tf18_CNN2/full_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ def max_pool_2x2(x):
sess.run(train_step, feed_dict={xs: batch_xs, ys: batch_ys, keep_prob: 0.5})
if i % 50 == 0:
print(compute_accuracy(
mnist.test.images, mnist.test.labels))
mnist.test.images[:1000], mnist.test.labels[:1000]))

2 changes: 1 addition & 1 deletion tensorflowTUT/tf18_CNN3/full_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ def max_pool_2x2(x):
sess.run(train_step, feed_dict={xs: batch_xs, ys: batch_ys, keep_prob: 0.5})
if i % 50 == 0:
print(compute_accuracy(
mnist.test.images, mnist.test.labels))
mnist.test.images[:1000], mnist.test.labels[:1000]))

0 comments on commit 6ca0f21

Please sign in to comment.