You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# - Test set images: t10k-images-idx3-ubyte.gz (1.6 MB, 7.8 MB, 10,000 samples)
92
92
# - Test set labels: t10k-labels-idx1-ubyte.gz (5 KB, 10 KB unzipped, 10,000 labels)
93
93
#
94
-
# In this section, we will only be working with a subset of MNIST, thus, we only need to download the training set images and training set labels. After downloading the files, I recommend unzipping the files using the Unix/Linux gzip tool from the terminal for efficiency, e.g., using the command
94
+
# In this section, we will only be working with a subset of MNIST, thus, we only need to download the training set images and training set labels.
95
+
#
96
+
# After downloading the files, simply run the next code cell to unzip the files.
# IGNORE IF THE CODE CELL ABOVE EXECUTED WITHOUT PROBLEMS:
119
+
#
120
+
# If you have issues with the code cell above, I recommend unzipping the files using the Unix/Linux gzip tool from the terminal for efficiency, e.g., using the command
95
121
#
96
122
# gzip *ubyte.gz -d
97
123
#
98
124
# in your local MNIST download directory, or, using your favorite unzipping tool if you are working with a machine running on Microsoft Windows. The images are stored in byte form, and using the following function, we will read them into NumPy arrays that we will use to train our MLP.
99
125
#
126
+
# Please note that if you are **not** using gzip, please make sure tha the files are named
127
+
#
128
+
# - train-images-idx3-ubyte
129
+
# - train-labels-idx1-ubyte
130
+
# - t10k-images-idx3-ubyte
131
+
# - t10k-labels-idx1-ubyte
132
+
#
133
+
# If a file is e.g., named `train-images.idx3-ubyte` after unzipping (this is due to the fact that certain tools try to guess a file suffix), please rename it to `train-images-idx3-ubyte` before proceeding.
0 commit comments