我正在尝试运行从{Ubuntu Dialogue Corpus v2.0下载并生成数据集的script,但它失败并出现以下错误:
Unpacking dialogs ...
Traceback (most recent call last):
File "create_ubuntu_dataset.py", line 404, in <module> prepare_data_maybe_download(args.data_root)
File "create_ubuntu_dataset.py", line 267, in prepare_data_maybe_download tar.extractall(path=directory)
File "~/anaconda/lib/python2.7/tarfile.py", line 2073, in extractall for tarinfo in members:
File "~/anaconda/lib/python2.7/tarfile.py", line 2508, in next
tarinfo = self.tarfile.next()
File "~/anaconda/lib/python2.7/tarfile.py", line 2356, in next
tarinfo = self.tarinfo.fromtarfile(self)
File "~/anaconda/lib/python2.7/tarfile.py", line 1251, in fromtarfile
buf = tarfile.fileobj.read(BLOCKSIZE)
File "~/anaconda/lib/python2.7/gzip.py", line 268, in read
self._read(readsize)
File "~/anaconda/lib/python2.7/gzip.py", line 315, in _read
self._read_eof()
File "~/anaconda/lib/python2.7/gzip.py", line 354, in _read_eof
hex(self.crc)))
IOError: CRC check failed 0xffca51ff != 0x3679ba0L
0
我的所有路径设置正确,所以我几乎可以肯定它与此无关。我没有看到任何使用Python3的明确指令,所以我坚持使用2.7。另外,我正在使用所有三个-t -s -l参数运行脚本。
我可能做错了什么?
答案 0 :(得分:0)
我也有同样的问题。然后我删除了启动docker容器的文件夹。然后再次运作! 这是由于我的一半下载了retrain.py