allenai / allenai/procthor

Some ProcTHOR Files May Be Corrupted

Aperta
#2 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
471
Fork
51
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello AI2 Team,

This issue references the rearrangement extension of procthor (it looks like issues can't be filed on that, perhaps since its a template):

https://github.com/jordis-ai2/ai2thor-rearrangement-procthor/tree/procthor-2022

It seems like certain files in `data/2022procthor` are corrupted. See the below steps to reproduce:

```bash
git clone https://github.com/jordis-ai2/ai2thor-rearrangement-procthor.git -b procthor-2022
cd ai2thor-rearrangement-procthor/data/2022procthor/split_train
pip install compress_json
```

Then in a python interpreter:

```python
>>> import compress_json
>>> compress_json.load("scene_names.json.gz")
Traceback (most recent call last):
File "", line 1, in
File "/home/user/anaconda3/lib/python3.8/site-packages/compress_json/compress_json.py", line 195, in load
json_content = json.load(file, **json_kwargs)
File "/home/user/anaconda3/lib/python3.8/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/home/user/anaconda3/lib/python3.8/gzip.py", line 292, in read
return self._buffer.read(size)
File "/home/user/anaconda3/lib/python3.8/gzip.py", line 479, in read
if not self._read_gzip_header():
File "/home/user/anaconda3/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've')
```

I get the same error when attempting to train your procthor model:

```bash
allenact -b baseline_configs/one_phase/procthor one_phase_rgb_clip_dagger \
-s 12345 --config_kwargs '{"distributed_nodes":1}'
```

Thanks for helping resolve this!

Brandon

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.