You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run the code on Colab and receiving this error message:
`Extracting ./asset/data/mnist/train-images-idx3-ubyte.gz
Traceback (most recent call last):
File "train.py", line 23, in
data = tf.sg_data.Mnist(batch_size=batch_size)
File "/usr/local/lib/python2.7/dist-packages/sugartensor/sg_data.py", line 29, in init
data_set = input_data.read_data_sets(Mnist._data_dir, reshape=reshape, one_hot=one_hot)
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 53, in extract_images
magic = _read32(bytestream)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 35, in _read32
return numpy.frombuffer(bytestream.read(4), dtype=dt)[0]
File "/usr/lib/python2.7/gzip.py", line 267, in read
self._read(readsize)
File "/usr/lib/python2.7/gzip.py", line 302, in _read
self._read_gzip_header()
File "/usr/lib/python2.7/gzip.py", line 196, in _read_gzip_header
raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file`
I think this error is due to Tensorflow version incompatibility. I am using Sugartensor version ==0.0.1.7 and tensorflow version == 0.12.0rc0. Note that the recommended tensorflow version is rc0.11 which is not available via pip . How can I get tensorflow==rc0.11 version ? Thanks in advance.
The text was updated successfully, but these errors were encountered:
I'm trying to run the code on Colab and receiving this error message:
`Extracting ./asset/data/mnist/train-images-idx3-ubyte.gz
Traceback (most recent call last):
File "train.py", line 23, in
data = tf.sg_data.Mnist(batch_size=batch_size)
File "/usr/local/lib/python2.7/dist-packages/sugartensor/sg_data.py", line 29, in init
data_set = input_data.read_data_sets(Mnist._data_dir, reshape=reshape, one_hot=one_hot)
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 53, in extract_images
magic = _read32(bytestream)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/contrib/learn/python/learn/datasets/mnist.py", line 35, in _read32
return numpy.frombuffer(bytestream.read(4), dtype=dt)[0]
File "/usr/lib/python2.7/gzip.py", line 267, in read
self._read(readsize)
File "/usr/lib/python2.7/gzip.py", line 302, in _read
self._read_gzip_header()
File "/usr/lib/python2.7/gzip.py", line 196, in _read_gzip_header
raise IOError, 'Not a gzipped file'
IOError: Not a gzipped file`
I think this error is due to Tensorflow version incompatibility. I am using Sugartensor version ==0.0.1.7 and tensorflow version == 0.12.0rc0. Note that the recommended tensorflow version is rc0.11 which is not available via pip . How can I get tensorflow==rc0.11 version ? Thanks in advance.
The text was updated successfully, but these errors were encountered: