Skip to content

Commit

Permalink
Testing on a test set issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arahusky committed Dec 10, 2016
1 parent 140340e commit 2cc681c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convolutional_autoencoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ def activator_binmasks(images, augmenter, parents, default):
epoch_i, cost, end - start))

if batch_num % 100 == 0:
test_inputs, test_targets = dataset.next_batch()
test_inputs, test_targets = dataset.test_set
test_inputs = np.reshape(test_inputs, (-1, network.IMAGE_HEIGHT, network.IMAGE_WIDTH, 1))
test_targets = np.reshape(test_targets, (-1, network.IMAGE_HEIGHT, network.IMAGE_WIDTH, 1))
test_accuracy = sess.run(network.accuracy, feed_dict={network.inputs: test_inputs, network.targets: test_targets, network.is_training: False})
Expand Down

0 comments on commit 2cc681c

Please sign in to comment.