>>> >>> from tensorflow.examples.tutorials.mnist import input_data
>>> mnist=input_data.read_data_sets("mnist_datat/",one_hot=True)
Successfully downloaded train-images-idx3-ubyte.gz 9912422 bytes.
Extracting mnist_datat/train-images-idx3-ubyte.gz
Successfully downloaded train-labels-idx1-ubyte.gz 28881 bytes.
Extracting mnist_datat/train-labels-idx1-ubyte.gz
Successfully downloaded t10k-images-idx3-ubyte.gz 1648877 bytes.
Extracting mnist_datat/t10k-images-idx3-ubyte.gz
Successfully downloaded t10k-labels-idx1-ubyte.gz 4542 bytes.
Extracting mnist_datat/t10k-labels-idx1-ubyte.gz
>>> print(mnist.train.images.shape,mnist.train.labels.shape)
((55000, 784), (55000, 10))
>>>