Skip to content

Commit 6ca0f21

Browse files
committedAug 9, 2017
reduce test size
1 parent f81d037 commit 6ca0f21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎tensorflowTUT/tf18_CNN2/full_code.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ def max_pool_2x2(x):
7171
sess.run(train_step, feed_dict={xs: batch_xs, ys: batch_ys, keep_prob: 0.5})
7272
if i % 50 == 0:
7373
print(compute_accuracy(
74-
mnist.test.images, mnist.test.labels))
74+
mnist.test.images[:1000], mnist.test.labels[:1000]))
7575

‎tensorflowTUT/tf18_CNN3/full_code.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ def max_pool_2x2(x):
9090
sess.run(train_step, feed_dict={xs: batch_xs, ys: batch_ys, keep_prob: 0.5})
9191
if i % 50 == 0:
9292
print(compute_accuracy(
93-
mnist.test.images, mnist.test.labels))
93+
mnist.test.images[:1000], mnist.test.labels[:1000]))
9494

0 commit comments

Comments
 (0)