Load the MNIST dataset:
data = input_data.read_data_sets("data/mnist",one_hot=True)
Let's plot one image:
plt.imshow(data.train.images[13].reshape(28,28),cmap="gray")
The input image looks as follows:
Load the MNIST dataset:
data = input_data.read_data_sets("data/mnist",one_hot=True)
Let's plot one image:
plt.imshow(data.train.images[13].reshape(28,28),cmap="gray")
The input image looks as follows: