Error when running "python training_script.py --batch_size 100 --dataset_name IWSLT --language_direction G2E
Not sure what is going on here but the best that I can tell is that there is a gzip file that seems to be missing.
Thank You Tom
Traceback (most recent call last): File "/home/tom/anaconda3/envs/pytorch-transformer/lib/python3.8/tarfile.py", line 1670, in gzopen t = cls.taropen(name, mode, fileobj, **kwargs) File "/home/tom/anaconda3/envs/pytorch-transformer/lib/python3.8/tarfile.py", line 1647, in taropen return cls(name, mode, fileobj, **kwargs) File "/home/tom/anaconda3/envs/pytorch-transformer/lib/python3.8/tarfile.py", line 1510, in init self.firstmember = self.next() File "/home/tom/anaconda3/envs/pytorch-transformer/lib/python3.8/tarfile.py", line 2311, in next tarinfo = self.tarinfo.fromtarfile(self) File "/home/tom/anaconda3/envs/pytorch-transformer/lib/python3.8/tarfile.py", line 1102, in fromtarfile buf = tarfile.fileobj.read(BLOCKSIZE) File "/home/tom/anaconda3/envs/pytorch-transformer/lib/python3.8/gzip.py", line 292, in read return self._buffer.read(size) File "/home/tom/anaconda3/envs/pytorch-transformer/lib/python3.8/_compression.py", line 68, in readinto data = self.read(len(byte_view)) File "/home/tom/anaconda3/envs/pytorch-transformer/lib/python3.8/gzip.py", line 479, in read if not self._read_gzip_header(): File "/home/tom/anaconda3/envs/pytorch-transformer/lib/python3.8/gzip.py", line 427, in _read_gzip_header raise BadGzipFile('Not a gzipped file (%r)' % magic) gzip.BadGzipFile: Not a gzipped file (b'<!')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "training_script.py", line 192, in
I got the same bug now,how to solve it?
Same problem here, is there any solutions?