码迷,mamicode.com
首页 > 编程语言 > 详细

tensorflow 运行 python convolutional.py时

时间:2017-04-09 11:49:04      阅读:1484      评论:0      收藏:0      [点我收藏+]

标签:check   channel   round   nal   most   error:   framework   数据集   rar   

Traceback (most recent call last):
File "convolutional.py", line 326, in <module>
tf.app.run()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 30, in run
sys.exit(main(sys.argv))
File "convolutional.py", line 138, in main
train_data = extract_data(train_data_filename, 60000)
File "convolutional.py", line 85, in extract_data
buf = bytestream.read(IMAGE_SIZE * IMAGE_SIZE * num_images * NUM_CHANNELS)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gzip.py", line 268, in read
self._read(readsize)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gzip.py", line 315, in _read
self._read_eof()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/gzip.py", line 354, in _read_eof
hex(self.crc)))
IOError: CRC check failed 0xd87082d != 0x6f522beL

是由于数据集不完整,去官网下载 

http://yann.lecun.com/exdb/mnist/

然后复制到tensorflow minist下的data文件夹下覆盖

 

tensorflow 运行 python convolutional.py时

标签:check   channel   round   nal   most   error:   framework   数据集   rar   

原文地址:http://www.cnblogs.com/xqnq2007/p/6683958.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!