Cannot get MNIST database through Anaconda/jupyter

前端 未结 9 2575
情歌与酒
情歌与酒 2021-02-13 14:20

Hu guys,

I\'m new to python/anaconda/jupyter/numPy, panda, etc.... so please excuse me if it\'s a really stupid question. I\'m trying to obtain MNIST database by using a

9条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-13 15:03

    I also get the same error as you. Here are some possible solutions that do not require this server.

    If you have tensorflow installed, you can get MNIST data in the following way:

    import tensorflow.examples.tutorials.mnist.input_data as input_data
    m=input_data.read_data_sets("MNIST")
    

    Then for example len(m.train.images) is 55000.

    If you don't have tensorflow, you can get this dataset using the instructions here.

提交回复
热议问题