Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Tathagatd96/999ad4bebfe72fbe3a71eb71648fead1 to your computer and use it in GitHub Desktop.
Save Tathagatd96/999ad4bebfe72fbe3a71eb71648fead1 to your computer and use it in GitHub Desktop.
results=output_layer.eval(feed_dict={X:mnist.test.images[:num_test_images]})
#Comparing original images with reconstructions
f,a=plt.subplots(2,10,figsize=(20,4))
for i in range(num_test_images):
a[0][i].imshow(np.reshape(mnist.test.images[i],(28,28)))
a[1][i].imshow(np.reshape(results[i],(28,28)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment