ImageBind icon indicating copy to clipboard operation
ImageBind copied to clipboard

unable to get past gzip

Open sachinspanicker opened this issue 2 years ago • 1 comments

something seems to be wrong with the bpe_simple_vocab_16e6.txt.gz. I get this error upon executing and kind of stuck on this. ANy help will be appreciated. As am unable to move further.

ModalityType.TEXT: data.load_and_transform_text(text_list, device),

File "/Users/FD00199/Downloads/data.py", line 109, in load_and_transform_text tokenizer = SimpleTokenizer(bpe_path=BPE_PATH) File "/Users/FD00199/Downloads/models/multimodal_preprocessors.py", line 505, in init merges = gzip.open(bpe_bytes).read().decode("utf-8").split("\n") File "/Users/FD00199/miniconda3/envs/imagebind/lib/python3.8/gzip.py", line 292, in read return self._buffer.read(size) File "/Users/FD00199/miniconda3/envs/imagebind/lib/python3.8/gzip.py", line 479, in read if not self._read_gzip_header(): File "/Users/FD00199/miniconda3/envs/imagebind/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'\n\n')

sachinspanicker avatar May 10 '23 14:05 sachinspanicker

Hi Sachin, were you able to run it? I am getting the same error.

mimran980 avatar Feb 27 '24 01:02 mimran980