tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -


i'm geting started tensorflow,followed tutorials,but cannot download mnist data.

import tensorflow tf  tensorflow.examples.tutorials.mnist import input_data  mnist=input_data.read_data_sets("mnist_data/",one_hot=true) print("download done!")  error information: extracting mnist_data/train-images-idx3-ubyte.gz traceback (most recent call last):   file "/home/sj/program/tesorflow_try.py", line 6, in <module>     mnist=input_data.read_data_sets("mnist_data/",one_hot=true)   file "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 213, in read_data_sets     train_images = extract_images(f)   file "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 60, in extract_images     buf = bytestream.read(rows * cols * num_images)   file "/usr/lib/python2.7/gzip.py", line 268, in read     self._read(readsize)   file "/usr/lib/python2.7/gzip.py", line 319, in _read     uncompress = self.decompress.decompress(buf) zlib.error: error -3 while decompressing: invalid block type 


Comments

Post a Comment

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -