-
Notifications
You must be signed in to change notification settings - Fork 45.4k
Description
tensorflow/tensorflow/models/image/imagenet/python classify_image.py
I went to the python code bundled along the tensorflow installation on python 3.4, tried runing it the following error messages shown:
[DEBUG ON]
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/tensorflow/models/image/imagenet/classify_image.py", line 212, in
tf.app.run()
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/platform/app.py", line 30, in run
sys.exit(main(sys.argv[:1] + flags_passthrough))
File "/usr/local/lib/python3.4/dist-packages/tensorflow/models/image/imagenet/classify_image.py", line 205, in main
maybe_download_and_extract()
File "/usr/local/lib/python3.4/dist-packages/tensorflow/models/image/imagenet/classify_image.py", line 201, in maybe_download_and_extract
tarfile.open(filepath, 'r:gz').extractall(dest_directory)
File "/usr/lib/python3.4/tarfile.py", line 1980, in extractall
self.extract(tarinfo, path, set_attrs=not tarinfo.isdir())
File "/usr/lib/python3.4/tarfile.py", line 2019, in extract
set_attrs=set_attrs)
File "/usr/lib/python3.4/tarfile.py", line 2088, in _extract_member
self.makefile(tarinfo, targetpath)
File "/usr/lib/python3.4/tarfile.py", line 2134, in makefile
copyfileobj(source, target, tarinfo.size)
File "/usr/lib/python3.4/tarfile.py", line 239, in copyfileobj
buf = src.read(BUFSIZE)
File "/usr/lib/python3.4/gzip.py", line 365, in read
if not self._read(readsize):
File "/usr/lib/python3.4/gzip.py", line 449, in _read
self._read_eof()
File "/usr/lib/python3.4/gzip.py", line 482, in _read_eof
crc32, isize = struct.unpack("<II", self._read_exact(8))
File "/usr/lib/python3.4/gzip.py", line 286, in _read_exact
raise EOFError("Compressed file ended before the "
EOFError: Compressed file ended before the end-of-stream marker was reached