【发布时间】:2017-11-15 04:05:23
【问题描述】:
我按照 TensorFlow 教程导入 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上。
【问题讨论】:
-
看起来非常类似于这个问题github.com/tensorflow/tensorflow/issues/170。尝试自己下载 mnist 数据link。
标签: python tensorflow mnist