Created
February 23, 2018 09:01
-
-
Save amirhfarzaneh/692fa2cca157273e3c9d0de030271073 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Loading the data (MNIST) | |
mnist = tf.contrib.learn.datasets.load_dataset("mnist") | |
train_data = mnist.train.images # Returns np.array | |
train_labels = np.asarray(mnist.train.labels, dtype=np.int32) | |
eval_data = mnist.test.images # Returns np.array | |
eval_labels = np.asarray(mnist.test.labels, dtype=np.int32) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment