6
$\begingroup$

I want to download the MNIST handwritten digit data from the offical site: https://yann.lecun.com/exdb/mnist/

But it wants me to enter a username and a password. How can I download the data? Does anybody know the credentials or any backup?

Thank you.

$\endgroup$
1
  • $\begingroup$ The link is not working when hyperlinked. I will suggest to google MNIST dataset and access link from the results it works $\endgroup$ Commented Feb 7, 2022 at 4:53

3 Answers 3

4
$\begingroup$

You can download it from here : Just click on it, and the download will automatically started https://storage.googleapis.com/tensorflow/tf-keras-datasets/mnist.npz

$\endgroup$
3
  • $\begingroup$ Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center. $\endgroup$ Commented Dec 27, 2022 at 3:18
  • 1
    $\begingroup$ How can I open this .npz file? $\endgroup$ Commented Nov 19, 2023 at 20:45
  • $\begingroup$ @ShimiShimson You just need to load it via tensorflow like : mnist = tf.keras.dataset.load_data() tensorflow.org/api_docs/python/tf/keras/datasets/mnist/… $\endgroup$ Commented Nov 24, 2023 at 0:21
1
$\begingroup$

The dataset can be downloaded from here: https://deepai.org/dataset/mnist

Additionally, Pytorch allows you to download it with:

dataset = datasets.MNIST('../data', train=True, download=True, transform=transform) 
$\endgroup$
3
  • $\begingroup$ Thank you very much. I was looking for this for hours. You saved me so much time :) $\endgroup$ Commented Feb 7, 2022 at 10:56
  • $\begingroup$ Thatl link doesn't seem to work. $\endgroup$ Commented Feb 18, 2023 at 1:36
  • $\begingroup$ this link doesn't work anymore $\endgroup$ Commented Feb 23, 2023 at 2:24
1
$\begingroup$

Since the link from the previous answer doesn't work anymore, you can download the dataset from here now:

https://github.com/MrHeadbang/machineLearning/blob/main/mnist.zip

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.