我跟着TensorFlow教程进口MNIST数据集,我运行这些命令:的IOError进口MNIST数据集
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets('MNIST_data', one_hot=True)
则显示错误:
anaconda2/lib/python2.7/gzip.pyc
IOError: Not a gzipped file
我是新来的Python和tensorflow,我不明白这意味着什么,谢谢你的帮助。
我的系统是ubuntu,在Ipython 5.1.0上运行。
看起来与这个问题非常相似https://github.com/tensorflow/tensorflow/issues/170。试着自己下载mnist数据[链接](http://yann.lecun.com/exdb/mnist/)。 –