Some ProcTHOR Files May Be Corrupted
- 主要語言
- Python
- 星號
- 472
- 分支
- 51
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。