Cannot get MNIST database through Anaconda/jupyter

前端 未结 9 2572
情歌与酒
情歌与酒 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 14:43

    Late to the party, but i had the same error and my simple solution was to run the two commands separately, like:

    from sklearn import datasets
    

    and make sure you run this in a separate line in jupyter notebook

    mnist_data = datasets.fetch_mldata('MNIST original', data_home = 'datasets/')
    

提交回复
热议问题