Datasets:
Add files using upload-large-folder tool
Browse files- .gitignore +3 -0
- README.md +122 -0
- data/train/metadata.jsonl +0 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Beechwood_1_int/childs_room_0/1153_Beechwood_1_int__childs_room_0_2.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Benevolence_0_int/bathroom_0/1154_Benevolence_0_int__bathroom_0_1.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Merom_1_int/kitchen_0/1170_Merom_1_int__kitchen_0_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Pomaria_1_int/kitchen_0/1175_Pomaria_1_int__kitchen_0_1.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Pomaria_1_int/utility_room_0/1176_Pomaria_1_int__utility_room_0_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Rs_garden/entryway_0/1177_Rs_garden__entryway_0_2.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Rs_garden/kitchen_0/1178_Rs_garden__kitchen_0_3.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Rs_int/entryway_0/1179_Rs_int__entryway_0_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Wainscott_0_garden/bathroom_1/1180_Wainscott_0_garden__bathroom_1_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Wainscott_0_garden/garden_0/1181_Wainscott_0_garden__garden_0_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Wainscott_0_int/bathroom_0/1184_Wainscott_0_int__bathroom_0_1.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/Wainscott_0_int/bathroom_1/1185_Wainscott_0_int__bathroom_1_2.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/hotel_gym_spa/gym_0/1192_hotel_gym_spa__gym_0_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/house_double_floor_lower/garage_0/1195_house_double_floor_lower__garage_0_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/house_double_floor_upper/bathroom_0/1198_house_double_floor_upper__bathroom_0_1.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/house_double_floor_upper/bathroom_0/1199_house_double_floor_upper__bathroom_0_2.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/house_single_floor/dining_room_0/1204_house_single_floor__dining_room_0_1.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/office_cubicles_left/private_office_2/1212_office_cubicles_left__private_office_2_1.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/office_cubicles_left/private_office_5/1213_office_cubicles_left__private_office_5_2.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/office_large/bathroom_0/1215_office_large__bathroom_0_2.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/restaurant_asian/corridor_1/1223_restaurant_asian__corridor_1_3.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/restaurant_brunch/bathroom_0/1227_restaurant_brunch__bathroom_0_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/restaurant_diner/corridor_0/1229_restaurant_diner__corridor_0_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/school_biology/corridor_1/1233_school_biology__corridor_1_0.png +3 -0
- data/validation/Perceptual_Grounding/Partial_Occlusion/school_computer_lab_and_infirmary/infirmary_0/1235_school_computer_lab_and_infirmary__infirmary_0_0.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Beechwood_0_garden/kitchen_0/1247_Beechwood_0_garden__kitchen_0_1.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Beechwood_0_int/kitchen_0/1261_Beechwood_0_int__kitchen_0_0.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Beechwood_0_int/kitchen_0/1263_Beechwood_0_int__kitchen_0_2.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Benevolence_1_int/corridor_0/1287_Benevolence_1_int__corridor_0_3.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Benevolence_2_int/bedroom_1/1295_Benevolence_2_int__bedroom_1_0.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Benevolence_2_int/bedroom_1/1296_Benevolence_2_int__bedroom_1_1.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Benevolence_2_int/closet_1/1300_Benevolence_2_int__closet_1_2.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Pomaria_2_int/corridor_0/1390_Pomaria_2_int__corridor_0_1.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Rs_int/bedroom_0/1402_Rs_int__bedroom_0_2.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Wainscott_0_garden/corridor_0/1412_Wainscott_0_garden__corridor_0_2.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Wainscott_0_int/corridor_0/1421_Wainscott_0_int__corridor_0_0.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/Wainscott_0_int/kitchen_0/1422_Wainscott_0_int__kitchen_0_1.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/hall_arch_wood/corridor_0/1458_hall_arch_wood__corridor_0_0.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/house_double_floor_upper/bedroom_2/1500_house_double_floor_upper__bedroom_2_3.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/office_large/bathroom_0/1573_office_large__bathroom_0_0.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/office_large/bathroom_0/1574_office_large__bathroom_0_1.png +3 -0
- data/validation/Perceptual_Grounding/View_Hallucination/office_large/break_room_0/1576_office_large__break_room_0_1.png +3 -0
- data/validation/metadata.jsonl +0 -0
- reports/excluded_records.jsonl +80 -0
- reports/export_summary.json +24 -0
- scripts/export_passive_single.py +256 -0
- scripts/upload_hf_dataset.py +68 -0
.gitignore
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__pycache__/
|
| 2 |
+
*.pyc
|
| 3 |
+
.cache/
|
README.md
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pretty_name: ESI-Bench Passive Single-View Renders
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
task_categories:
|
| 6 |
+
- visual-question-answering
|
| 7 |
+
size_categories:
|
| 8 |
+
- 1K<n<10K
|
| 9 |
+
license: other
|
| 10 |
+
tags:
|
| 11 |
+
- embodied-ai
|
| 12 |
+
- spatial-reasoning
|
| 13 |
+
- synthetic-data
|
| 14 |
+
- omnigibson
|
| 15 |
+
- behavior-1k
|
| 16 |
+
configs:
|
| 17 |
+
- config_name: default
|
| 18 |
+
data_files:
|
| 19 |
+
- split: train
|
| 20 |
+
path: data/train/**
|
| 21 |
+
- split: validation
|
| 22 |
+
path: data/validation/**
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# ESI-Bench Passive Single-View Renders
|
| 26 |
+
|
| 27 |
+
This standalone dataset contains one passive RGB observation for successfully rendered ESI-Bench question instances. It is designed for visual question answering and passive-observation baselines for embodied spatial intelligence.
|
| 28 |
+
|
| 29 |
+
The repository uses the Hugging Face ImageFolder format. Each image is paired with a row in the nearest `metadata.jsonl` through the `file_name` column.
|
| 30 |
+
|
| 31 |
+
## Dataset Structure
|
| 32 |
+
|
| 33 |
+
The release contains 3,422 PNG images at 1280 x 720 resolution:
|
| 34 |
+
|
| 35 |
+
| Split | Images | Meaning |
|
| 36 |
+
| --- | ---: | --- |
|
| 37 |
+
| `train` | 3,189 | Passed the automatic preview-quality checks |
|
| 38 |
+
| `validation` | 233 | Rendered successfully but flagged by the automatic quality checks |
|
| 39 |
+
|
| 40 |
+
These are quality partitions, not conventional machine-learning train and validation splits. The `validation` split contains 220 images flagged as `very_low_information` and 13 flagged as `constant_image`. Consumers should inspect the `quality_reasons_json` and `usable_preview` fields before deciding whether to include these samples.
|
| 41 |
+
|
| 42 |
+
Eighty manifest entries without a publishable render result and one orphaned PNG without a successful manifest result are excluded. A sanitized audit is provided under `reports/`.
|
| 43 |
+
|
| 44 |
+
## Metadata Schema
|
| 45 |
+
|
| 46 |
+
Each metadata row contains:
|
| 47 |
+
|
| 48 |
+
| Field | Description |
|
| 49 |
+
| --- | --- |
|
| 50 |
+
| `file_name` | Image path relative to the split directory; used by ImageFolder |
|
| 51 |
+
| `id` | Zero-padded ESI-Bench question ID |
|
| 52 |
+
| `source_index` | Original render-manifest index |
|
| 53 |
+
| `big_task`, `small_task` | ESI-Bench task taxonomy |
|
| 54 |
+
| `runner_task` | Internal benchmark runner family |
|
| 55 |
+
| `scene`, `room` | OmniGibson scene and room identifiers |
|
| 56 |
+
| `question`, `answer` | Question and reference answer associated with the rendered observation |
|
| 57 |
+
| `answer_type` | Answer format such as choice, count, boolean, or freeform |
|
| 58 |
+
| `options_json` | JSON-encoded answer options |
|
| 59 |
+
| `render_status` | `rendered` or `rendered_warning` |
|
| 60 |
+
| `quality_reasons_json` | JSON-encoded automatic quality warnings |
|
| 61 |
+
| `usable_preview` | Automatic preview-usability flag |
|
| 62 |
+
| `width`, `height`, `size_bytes` | Image properties measured during rendering |
|
| 63 |
+
| `camera_pose_json` | JSON-encoded camera pose when available |
|
| 64 |
+
| `camera_info_json` | JSON-encoded task-specific camera selection metadata |
|
| 65 |
+
| `env_postprocess_json` | JSON-encoded environment postprocessing metadata |
|
| 66 |
+
|
| 67 |
+
Local filesystem paths, temporary paths, process logs, retry traces, and simulator stderr/stdout are intentionally excluded from the public metadata.
|
| 68 |
+
|
| 69 |
+
## Loading
|
| 70 |
+
|
| 71 |
+
```python
|
| 72 |
+
from datasets import load_dataset
|
| 73 |
+
|
| 74 |
+
dataset = load_dataset("ESI-Bench/esi-bench-passive-single")
|
| 75 |
+
clean = dataset["train"]
|
| 76 |
+
quality_warnings = dataset["validation"]
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
To keep only records accepted by the automatic quality check:
|
| 80 |
+
|
| 81 |
+
```python
|
| 82 |
+
clean = dataset["train"].filter(lambda row: row["usable_preview"])
|
| 83 |
+
```
|
| 84 |
+
|
| 85 |
+
## Task Taxonomy
|
| 86 |
+
|
| 87 |
+
The dataset covers the ten ESI-Bench categories:
|
| 88 |
+
|
| 89 |
+
- Action Sequencing
|
| 90 |
+
- Cognitive Mapping
|
| 91 |
+
- Enumerative Perception
|
| 92 |
+
- Metric Comparison
|
| 93 |
+
- Perceptual Grounding
|
| 94 |
+
- Physical Dynamics
|
| 95 |
+
- Physical Structure
|
| 96 |
+
- Spatial Relations
|
| 97 |
+
- Specular Reflection
|
| 98 |
+
- Temporal Understanding
|
| 99 |
+
|
| 100 |
+
## Intended Use and Limitations
|
| 101 |
+
|
| 102 |
+
The images are synthetic observations rendered in OmniGibson from ESI-Bench task instances. They are intended for embodied spatial reasoning research, visual question answering evaluation, and passive-observation baselines.
|
| 103 |
+
|
| 104 |
+
Automatic quality heuristics can produce false positives and false negatives. In particular, visually sparse scenes can be valid for some tasks. The quality-warning split is retained to make this decision transparent rather than silently discarding every flagged render.
|
| 105 |
+
|
| 106 |
+
The data reflects the environments, assets, rendering pipeline, and task generation procedures used by ESI-Bench and should not be treated as representative of real-world visual distributions.
|
| 107 |
+
|
| 108 |
+
## Citation
|
| 109 |
+
|
| 110 |
+
```bibtex
|
| 111 |
+
@inproceedings{hong2026esibench,
|
| 112 |
+
title = {{ESI-Bench}: Towards Embodied Spatial Intelligence that Closes the Perception-Action Loop},
|
| 113 |
+
author = {Hong, Yining and Liu, Jiageng and Yin, Han and Li, Manling and Guibas, Leonidas and Li, Fei-Fei and Wu, Jiajun and Choi, Yejin},
|
| 114 |
+
year = {2026}
|
| 115 |
+
}
|
| 116 |
+
```
|
| 117 |
+
|
| 118 |
+
This dataset also builds on BEHAVIOR-1K and OmniGibson. Please cite their corresponding publications when using the rendered observations.
|
| 119 |
+
|
| 120 |
+
## License
|
| 121 |
+
|
| 122 |
+
The ESI-Bench source code is released under the MIT License. The rendered observations incorporate OmniGibson and BEHAVIOR-1K environments and assets and may be subject to their applicable asset and dataset terms. The repository therefore uses `license: other`; users and maintainers should verify the upstream redistribution terms before public release and use.
|
data/train/metadata.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Beechwood_1_int/childs_room_0/1153_Beechwood_1_int__childs_room_0_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Benevolence_0_int/bathroom_0/1154_Benevolence_0_int__bathroom_0_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Merom_1_int/kitchen_0/1170_Merom_1_int__kitchen_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Pomaria_1_int/kitchen_0/1175_Pomaria_1_int__kitchen_0_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Pomaria_1_int/utility_room_0/1176_Pomaria_1_int__utility_room_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Rs_garden/entryway_0/1177_Rs_garden__entryway_0_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Rs_garden/kitchen_0/1178_Rs_garden__kitchen_0_3.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Rs_int/entryway_0/1179_Rs_int__entryway_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Wainscott_0_garden/bathroom_1/1180_Wainscott_0_garden__bathroom_1_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Wainscott_0_garden/garden_0/1181_Wainscott_0_garden__garden_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Wainscott_0_int/bathroom_0/1184_Wainscott_0_int__bathroom_0_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/Wainscott_0_int/bathroom_1/1185_Wainscott_0_int__bathroom_1_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/hotel_gym_spa/gym_0/1192_hotel_gym_spa__gym_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/house_double_floor_lower/garage_0/1195_house_double_floor_lower__garage_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/house_double_floor_upper/bathroom_0/1198_house_double_floor_upper__bathroom_0_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/house_double_floor_upper/bathroom_0/1199_house_double_floor_upper__bathroom_0_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/house_single_floor/dining_room_0/1204_house_single_floor__dining_room_0_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/office_cubicles_left/private_office_2/1212_office_cubicles_left__private_office_2_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/office_cubicles_left/private_office_5/1213_office_cubicles_left__private_office_5_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/office_large/bathroom_0/1215_office_large__bathroom_0_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/restaurant_asian/corridor_1/1223_restaurant_asian__corridor_1_3.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/restaurant_brunch/bathroom_0/1227_restaurant_brunch__bathroom_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/restaurant_diner/corridor_0/1229_restaurant_diner__corridor_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/school_biology/corridor_1/1233_school_biology__corridor_1_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/Partial_Occlusion/school_computer_lab_and_infirmary/infirmary_0/1235_school_computer_lab_and_infirmary__infirmary_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Beechwood_0_garden/kitchen_0/1247_Beechwood_0_garden__kitchen_0_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Beechwood_0_int/kitchen_0/1261_Beechwood_0_int__kitchen_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Beechwood_0_int/kitchen_0/1263_Beechwood_0_int__kitchen_0_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Benevolence_1_int/corridor_0/1287_Benevolence_1_int__corridor_0_3.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Benevolence_2_int/bedroom_1/1295_Benevolence_2_int__bedroom_1_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Benevolence_2_int/bedroom_1/1296_Benevolence_2_int__bedroom_1_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Benevolence_2_int/closet_1/1300_Benevolence_2_int__closet_1_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Pomaria_2_int/corridor_0/1390_Pomaria_2_int__corridor_0_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Rs_int/bedroom_0/1402_Rs_int__bedroom_0_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Wainscott_0_garden/corridor_0/1412_Wainscott_0_garden__corridor_0_2.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Wainscott_0_int/corridor_0/1421_Wainscott_0_int__corridor_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/Wainscott_0_int/kitchen_0/1422_Wainscott_0_int__kitchen_0_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/hall_arch_wood/corridor_0/1458_hall_arch_wood__corridor_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/house_double_floor_upper/bedroom_2/1500_house_double_floor_upper__bedroom_2_3.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/office_large/bathroom_0/1573_office_large__bathroom_0_0.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/office_large/bathroom_0/1574_office_large__bathroom_0_1.png
ADDED
|
Git LFS Details
|
data/validation/Perceptual_Grounding/View_Hallucination/office_large/break_room_0/1576_office_large__break_room_0_1.png
ADDED
|
Git LFS Details
|
data/validation/metadata.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
reports/excluded_records.jsonl
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"source_index":398,"big_task":"Enumerative Perception","small_task":"Counting w Occlusion","scene":"Beechwood_0_garden","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 2 |
+
{"source_index":1155,"big_task":"Perceptual Grounding","small_task":"Partial Occlusion","scene":"Benevolence_1_int","room":"dining_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 3 |
+
{"source_index":1159,"big_task":"Perceptual Grounding","small_task":"Partial Occlusion","scene":"Ihlen_1_int","room":"bathroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 4 |
+
{"source_index":1160,"big_task":"Perceptual Grounding","small_task":"Partial Occlusion","scene":"Ihlen_1_int","room":"kitchen_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 5 |
+
{"source_index":1173,"big_task":"Perceptual Grounding","small_task":"Partial Occlusion","scene":"Pomaria_0_int","room":"bedroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 6 |
+
{"source_index":1207,"big_task":"Perceptual Grounding","small_task":"Partial Occlusion","scene":"house_single_floor","room":"kitchen_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 7 |
+
{"source_index":1218,"big_task":"Perceptual Grounding","small_task":"Partial Occlusion","scene":"office_large","room":"meeting_room_4","render_status":"failed","reason":"no_publishable_render_result"}
|
| 8 |
+
{"source_index":1702,"big_task":"Physical Dynamics","small_task":"Inclined Plane","scene":"Wainscott_0_int","room":"living_room_2","render_status":"failed","reason":"no_publishable_render_result"}
|
| 9 |
+
{"source_index":1829,"big_task":"Physical Structure","small_task":"Deformable","scene":"Beechwood_0_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 10 |
+
{"source_index":2062,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_0_int","room":"living_room_1","render_status":"failed","reason":"no_publishable_render_result"}
|
| 11 |
+
{"source_index":2064,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"playroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 12 |
+
{"source_index":2065,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"playroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 13 |
+
{"source_index":2066,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"playroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 14 |
+
{"source_index":2068,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"television_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 15 |
+
{"source_index":2069,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"television_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 16 |
+
{"source_index":2070,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"television_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 17 |
+
{"source_index":2071,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"television_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 18 |
+
{"source_index":2072,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"television_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 19 |
+
{"source_index":2073,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"television_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 20 |
+
{"source_index":2074,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Beechwood_1_int","room":"television_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 21 |
+
{"source_index":2076,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Benevolence_0_int","room":"bathroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 22 |
+
{"source_index":2078,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Benevolence_0_int","room":"corridor_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 23 |
+
{"source_index":2080,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Benevolence_0_int","room":"empty_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 24 |
+
{"source_index":2082,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Benevolence_1_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 25 |
+
{"source_index":2083,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Benevolence_1_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 26 |
+
{"source_index":2084,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Benevolence_1_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 27 |
+
{"source_index":2085,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Benevolence_1_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 28 |
+
{"source_index":2086,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Benevolence_1_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 29 |
+
{"source_index":2088,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Benevolence_2_int","room":"bedroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 30 |
+
{"source_index":2090,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Ihlen_1_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 31 |
+
{"source_index":2091,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Ihlen_1_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 32 |
+
{"source_index":2092,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Ihlen_1_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 33 |
+
{"source_index":2094,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Merom_0_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 34 |
+
{"source_index":2096,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Pomaria_1_int","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 35 |
+
{"source_index":2098,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Wainscott_0_garden","room":"living_room_1","render_status":"failed","reason":"no_publishable_render_result"}
|
| 36 |
+
{"source_index":2099,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Wainscott_0_garden","room":"living_room_1","render_status":"failed","reason":"no_publishable_render_result"}
|
| 37 |
+
{"source_index":2100,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"Wainscott_0_garden","room":"living_room_1","render_status":"failed","reason":"no_publishable_render_result"}
|
| 38 |
+
{"source_index":2102,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"grocery_store_half_stocked","room":"grocery_store_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 39 |
+
{"source_index":2104,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"grocery_store_half_stocked","room":"grocery_store_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 40 |
+
{"source_index":2105,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"grocery_store_half_stocked","room":"grocery_store_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 41 |
+
{"source_index":2106,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"grocery_store_half_stocked","room":"grocery_store_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 42 |
+
{"source_index":2107,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"grocery_store_half_stocked","room":"grocery_store_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 43 |
+
{"source_index":2108,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"grocery_store_half_stocked","room":"grocery_store_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 44 |
+
{"source_index":2110,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"hall_arch_wood","room":"empty_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 45 |
+
{"source_index":2112,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"hall_conference_large","room":"conference_hall_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 46 |
+
{"source_index":2113,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"hall_conference_large","room":"conference_hall_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 47 |
+
{"source_index":2114,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"hall_conference_large","room":"conference_hall_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 48 |
+
{"source_index":2116,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"hall_conference_large","room":"conference_hall_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 49 |
+
{"source_index":2117,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"hall_conference_large","room":"conference_hall_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 50 |
+
{"source_index":2118,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"hall_conference_large","room":"conference_hall_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 51 |
+
{"source_index":2119,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"hall_conference_large","room":"conference_hall_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 52 |
+
{"source_index":2120,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"hall_conference_large","room":"conference_hall_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 53 |
+
{"source_index":2122,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"house_double_floor_lower","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 54 |
+
{"source_index":2123,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"house_double_floor_lower","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 55 |
+
{"source_index":2124,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"house_double_floor_lower","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 56 |
+
{"source_index":2125,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"house_double_floor_lower","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 57 |
+
{"source_index":2126,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"house_double_floor_lower","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 58 |
+
{"source_index":2127,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"house_double_floor_lower","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 59 |
+
{"source_index":2128,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"house_double_floor_lower","room":"living_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 60 |
+
{"source_index":2130,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"office_vendor_machine","room":"meeting_room_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 61 |
+
{"source_index":2132,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"restaurant_hotel","room":"lobby_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 62 |
+
{"source_index":2133,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"restaurant_hotel","room":"lobby_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 63 |
+
{"source_index":2134,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"restaurant_hotel","room":"lobby_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 64 |
+
{"source_index":2135,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"restaurant_hotel","room":"lobby_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 65 |
+
{"source_index":2136,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"restaurant_hotel","room":"lobby_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 66 |
+
{"source_index":2137,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"restaurant_hotel","room":"lobby_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 67 |
+
{"source_index":2138,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"restaurant_hotel","room":"lobby_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 68 |
+
{"source_index":2139,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"restaurant_hotel","room":"lobby_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 69 |
+
{"source_index":2140,"big_task":"Physical Structure","small_task":"Rigid Containment","scene":"restaurant_hotel","room":"lobby_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 70 |
+
{"source_index":2951,"big_task":"Specular Reflection","small_task":"Correspondence","scene":"Pomaria_0_int","room":"private_office_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 71 |
+
{"source_index":2952,"big_task":"Specular Reflection","small_task":"Correspondence","scene":"Pomaria_0_int","room":"private_office_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 72 |
+
{"source_index":2953,"big_task":"Specular Reflection","small_task":"Correspondence","scene":"Pomaria_0_int","room":"private_office_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 73 |
+
{"source_index":3055,"big_task":"Specular Reflection","small_task":"Reflection Authoring","scene":"grocery_store_convenience","room":"bathroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 74 |
+
{"source_index":3056,"big_task":"Specular Reflection","small_task":"Reflection Authoring","scene":"grocery_store_convenience","room":"grocery_store_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 75 |
+
{"source_index":3137,"big_task":"Specular Reflection","small_task":"Spatial Relations","scene":"Pomaria_0_int","room":"private_office_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 76 |
+
{"source_index":3138,"big_task":"Specular Reflection","small_task":"Spatial Relations","scene":"Pomaria_0_int","room":"private_office_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 77 |
+
{"source_index":3139,"big_task":"Specular Reflection","small_task":"Spatial Relations","scene":"Pomaria_0_int","room":"private_office_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 78 |
+
{"source_index":3141,"big_task":"Specular Reflection","small_task":"Spatial Relations","scene":"Pomaria_2_int","room":"bedroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 79 |
+
{"source_index":3165,"big_task":"Specular Reflection","small_task":"Spatial Relations","scene":"grocery_store_convenience","room":"bathroom_0","render_status":"failed","reason":"no_publishable_render_result"}
|
| 80 |
+
{"source_index":3166,"big_task":"Specular Reflection","small_task":"Spatial Relations","scene":"grocery_store_convenience","room":"grocery_store_0","render_status":"failed","reason":"no_publishable_render_result"}
|
reports/export_summary.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"manifest_rows": 3502,
|
| 3 |
+
"question_rows": 3502,
|
| 4 |
+
"published_images": 3422,
|
| 5 |
+
"splits": {
|
| 6 |
+
"train": 3189,
|
| 7 |
+
"validation": 233
|
| 8 |
+
},
|
| 9 |
+
"excluded_manifest_rows": 80,
|
| 10 |
+
"excluded_status_counts": {
|
| 11 |
+
"failed": 80
|
| 12 |
+
},
|
| 13 |
+
"orphan_image_count": 1,
|
| 14 |
+
"orphan_images": [
|
| 15 |
+
"Enumerative_Perception/Counting_w_Occlusion/Beechwood_0_garden/living_room_0/0398_q_004.png"
|
| 16 |
+
],
|
| 17 |
+
"warning_reason_counts": {
|
| 18 |
+
"constant_image": 13,
|
| 19 |
+
"very_low_information": 220
|
| 20 |
+
},
|
| 21 |
+
"image_placement": {
|
| 22 |
+
"linked": 3422
|
| 23 |
+
}
|
| 24 |
+
}
|
scripts/export_passive_single.py
ADDED
|
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Build the standalone ESI-Bench passive-single Hugging Face dataset repo."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import json
|
| 8 |
+
import os
|
| 9 |
+
import shutil
|
| 10 |
+
from collections import Counter
|
| 11 |
+
from pathlib import Path
|
| 12 |
+
from typing import Any
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
PROJECT_ROOT = Path(__file__).resolve().parents[2]
|
| 16 |
+
DEFAULT_SOURCE_ROOT = PROJECT_ROOT / "outputs/passive_single"
|
| 17 |
+
DEFAULT_MANIFEST = DEFAULT_SOURCE_ROOT / "all_manifest.jsonl"
|
| 18 |
+
DEFAULT_QUESTIONS = PROJECT_ROOT / "hf_dataset/data/questions.jsonl"
|
| 19 |
+
DEFAULT_OUTPUT_ROOT = PROJECT_ROOT / "hf_passive_single_dataset"
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
def read_jsonl(path: Path) -> list[dict[str, Any]]:
|
| 23 |
+
rows: list[dict[str, Any]] = []
|
| 24 |
+
with path.open(encoding="utf-8") as handle:
|
| 25 |
+
for line_number, line in enumerate(handle, start=1):
|
| 26 |
+
line = line.strip()
|
| 27 |
+
if not line:
|
| 28 |
+
continue
|
| 29 |
+
try:
|
| 30 |
+
value = json.loads(line)
|
| 31 |
+
except json.JSONDecodeError as exc:
|
| 32 |
+
raise SystemExit(f"Invalid JSON in {path}:{line_number}: {exc}") from exc
|
| 33 |
+
if not isinstance(value, dict):
|
| 34 |
+
raise SystemExit(f"Expected an object in {path}:{line_number}")
|
| 35 |
+
rows.append(value)
|
| 36 |
+
return rows
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
def json_text(value: Any) -> str:
|
| 40 |
+
return json.dumps(value, ensure_ascii=False, separators=(",", ":"))
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def relative_image_path(raw_path: str) -> Path:
|
| 44 |
+
prefix = "outputs/passive_single/"
|
| 45 |
+
normalized = raw_path.replace("\\", "/")
|
| 46 |
+
if normalized.startswith(prefix):
|
| 47 |
+
normalized = normalized[len(prefix) :]
|
| 48 |
+
relative = Path(normalized)
|
| 49 |
+
if relative.is_absolute() or ".." in relative.parts:
|
| 50 |
+
raise SystemExit(f"Unsafe output_image path: {raw_path}")
|
| 51 |
+
return relative
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
def action_qa(row: dict[str, Any]) -> tuple[str | None, str | None, str | None, str | None]:
|
| 55 |
+
result = row.get("result")
|
| 56 |
+
if not isinstance(result, dict):
|
| 57 |
+
return None, None, None, None
|
| 58 |
+
camera_info = result.get("camera_info")
|
| 59 |
+
if not isinstance(camera_info, dict):
|
| 60 |
+
return None, None, None, None
|
| 61 |
+
qa = camera_info.get("qa")
|
| 62 |
+
if not isinstance(qa, dict) or not qa.get("question"):
|
| 63 |
+
return None, None, None, None
|
| 64 |
+
|
| 65 |
+
answers = {
|
| 66 |
+
key: qa[key]
|
| 67 |
+
for key in ("answer_A", "answer_C")
|
| 68 |
+
if key in qa
|
| 69 |
+
}
|
| 70 |
+
options: dict[str, Any] = {}
|
| 71 |
+
if "choices_A" in qa:
|
| 72 |
+
options["A"] = qa["choices_A"]
|
| 73 |
+
if "choices_C" in qa:
|
| 74 |
+
options["C"] = qa["choices_C"]
|
| 75 |
+
return (
|
| 76 |
+
str(qa["question"]),
|
| 77 |
+
json_text(answers) if answers else None,
|
| 78 |
+
"choice" if answers else None,
|
| 79 |
+
json_text(options) if options else None,
|
| 80 |
+
)
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def public_metadata(
|
| 84 |
+
manifest_row: dict[str, Any],
|
| 85 |
+
question_row: dict[str, Any],
|
| 86 |
+
file_name: str,
|
| 87 |
+
) -> dict[str, Any]:
|
| 88 |
+
result = manifest_row["result"]
|
| 89 |
+
quality = result.get("quality") if isinstance(result.get("quality"), dict) else {}
|
| 90 |
+
|
| 91 |
+
rendered_question, rendered_answer, rendered_answer_type, rendered_options = action_qa(manifest_row)
|
| 92 |
+
camera_pose = result.get("camera_pose")
|
| 93 |
+
camera_info = result.get("camera_info")
|
| 94 |
+
env_postprocess = result.get("env_postprocess")
|
| 95 |
+
|
| 96 |
+
return {
|
| 97 |
+
"file_name": file_name,
|
| 98 |
+
"id": str(result["id"]),
|
| 99 |
+
"source_index": manifest_row.get("index"),
|
| 100 |
+
"big_task": manifest_row.get("big_task") or result.get("big_task"),
|
| 101 |
+
"small_task": manifest_row.get("small_task") or result.get("small_task"),
|
| 102 |
+
"runner_task": question_row.get("runner_task") or result.get("runner_task"),
|
| 103 |
+
"scene": manifest_row.get("scene") or result.get("scene"),
|
| 104 |
+
"room": manifest_row.get("room") or result.get("room"),
|
| 105 |
+
"question": rendered_question or question_row.get("question"),
|
| 106 |
+
"answer": rendered_answer or question_row.get("answer"),
|
| 107 |
+
"answer_type": rendered_answer_type or question_row.get("answer_type"),
|
| 108 |
+
"options_json": rendered_options or question_row.get("options_json") or "{}",
|
| 109 |
+
"render_status": manifest_row.get("status"),
|
| 110 |
+
"quality_reasons_json": json_text(quality.get("quality_reasons") or []),
|
| 111 |
+
"usable_preview": bool(quality.get("usable_preview")),
|
| 112 |
+
"width": quality.get("width"),
|
| 113 |
+
"height": quality.get("height"),
|
| 114 |
+
"size_bytes": quality.get("size_bytes"),
|
| 115 |
+
"camera_pose_json": json_text(camera_pose or {}),
|
| 116 |
+
"camera_info_json": json_text(camera_info or {}),
|
| 117 |
+
"env_postprocess_json": json_text(env_postprocess or {}),
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
|
| 121 |
+
def place_image(source: Path, destination: Path, mode: str) -> str:
|
| 122 |
+
destination.parent.mkdir(parents=True, exist_ok=True)
|
| 123 |
+
if mode == "copy":
|
| 124 |
+
shutil.copy2(source, destination)
|
| 125 |
+
return "copied"
|
| 126 |
+
try:
|
| 127 |
+
os.link(source, destination)
|
| 128 |
+
return "linked"
|
| 129 |
+
except OSError:
|
| 130 |
+
shutil.copy2(source, destination)
|
| 131 |
+
return "copied"
|
| 132 |
+
|
| 133 |
+
|
| 134 |
+
def write_jsonl(path: Path, rows: list[dict[str, Any]]) -> None:
|
| 135 |
+
path.parent.mkdir(parents=True, exist_ok=True)
|
| 136 |
+
with path.open("w", encoding="utf-8") as handle:
|
| 137 |
+
for row in rows:
|
| 138 |
+
handle.write(json_text(row))
|
| 139 |
+
handle.write("\n")
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
def main() -> int:
|
| 143 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 144 |
+
parser.add_argument("--source-root", type=Path, default=DEFAULT_SOURCE_ROOT)
|
| 145 |
+
parser.add_argument("--manifest", type=Path, default=DEFAULT_MANIFEST)
|
| 146 |
+
parser.add_argument("--questions", type=Path, default=DEFAULT_QUESTIONS)
|
| 147 |
+
parser.add_argument("--output-root", type=Path, default=DEFAULT_OUTPUT_ROOT)
|
| 148 |
+
parser.add_argument("--copy", action="store_true", help="Copy images instead of using hard links when possible.")
|
| 149 |
+
parser.add_argument("--overwrite", action="store_true", help="Replace an existing generated data directory.")
|
| 150 |
+
args = parser.parse_args()
|
| 151 |
+
|
| 152 |
+
source_root = args.source_root.resolve()
|
| 153 |
+
manifest_path = args.manifest.resolve()
|
| 154 |
+
questions_path = args.questions.resolve()
|
| 155 |
+
output_root = args.output_root.resolve()
|
| 156 |
+
data_root = output_root / "data"
|
| 157 |
+
reports_root = output_root / "reports"
|
| 158 |
+
|
| 159 |
+
if output_root == PROJECT_ROOT or output_root == source_root:
|
| 160 |
+
raise SystemExit(f"Refusing unsafe output root: {output_root}")
|
| 161 |
+
if data_root.exists() or reports_root.exists():
|
| 162 |
+
if not args.overwrite:
|
| 163 |
+
raise SystemExit("Generated data/reports already exist. Pass --overwrite to rebuild them.")
|
| 164 |
+
if data_root.exists():
|
| 165 |
+
shutil.rmtree(data_root)
|
| 166 |
+
if reports_root.exists():
|
| 167 |
+
shutil.rmtree(reports_root)
|
| 168 |
+
|
| 169 |
+
manifest_rows = read_jsonl(manifest_path)
|
| 170 |
+
question_rows = read_jsonl(questions_path)
|
| 171 |
+
questions_by_id = {str(row["id"]): row for row in question_rows}
|
| 172 |
+
if len(questions_by_id) != len(question_rows):
|
| 173 |
+
raise SystemExit("Question IDs are not unique")
|
| 174 |
+
|
| 175 |
+
metadata_by_split: dict[str, list[dict[str, Any]]] = {"train": [], "validation": []}
|
| 176 |
+
excluded: list[dict[str, Any]] = []
|
| 177 |
+
referenced_images: set[Path] = set()
|
| 178 |
+
placement_counts: Counter[str] = Counter()
|
| 179 |
+
|
| 180 |
+
for row in manifest_rows:
|
| 181 |
+
status = row.get("status")
|
| 182 |
+
result = row.get("result")
|
| 183 |
+
if status not in {"rendered", "rendered_warning"} or not isinstance(result, dict):
|
| 184 |
+
excluded.append(
|
| 185 |
+
{
|
| 186 |
+
"source_index": row.get("index"),
|
| 187 |
+
"big_task": row.get("big_task"),
|
| 188 |
+
"small_task": row.get("small_task"),
|
| 189 |
+
"scene": row.get("scene"),
|
| 190 |
+
"room": row.get("room"),
|
| 191 |
+
"render_status": status,
|
| 192 |
+
"reason": "no_publishable_render_result",
|
| 193 |
+
}
|
| 194 |
+
)
|
| 195 |
+
continue
|
| 196 |
+
|
| 197 |
+
item_id = str(result.get("id") or "")
|
| 198 |
+
if not item_id or item_id not in questions_by_id:
|
| 199 |
+
raise SystemExit(f"Missing standardized question metadata for rendered ID {item_id!r}")
|
| 200 |
+
raw_image_path = result.get("output_image")
|
| 201 |
+
if not isinstance(raw_image_path, str):
|
| 202 |
+
raise SystemExit(f"Rendered ID {item_id} has no output_image")
|
| 203 |
+
|
| 204 |
+
relative = relative_image_path(raw_image_path)
|
| 205 |
+
source = source_root / relative
|
| 206 |
+
if not source.is_file():
|
| 207 |
+
raise SystemExit(f"Missing rendered image for ID {item_id}: {source}")
|
| 208 |
+
referenced_images.add(relative)
|
| 209 |
+
|
| 210 |
+
split = "train" if status == "rendered" else "validation"
|
| 211 |
+
destination = data_root / split / relative
|
| 212 |
+
placement_counts[place_image(source, destination, "copy" if args.copy else "link")] += 1
|
| 213 |
+
metadata_by_split[split].append(
|
| 214 |
+
public_metadata(row, questions_by_id[item_id], relative.as_posix())
|
| 215 |
+
)
|
| 216 |
+
|
| 217 |
+
for split, rows in metadata_by_split.items():
|
| 218 |
+
rows.sort(key=lambda row: row["id"])
|
| 219 |
+
write_jsonl(data_root / split / "metadata.jsonl", rows)
|
| 220 |
+
|
| 221 |
+
all_pngs = {
|
| 222 |
+
path.relative_to(source_root)
|
| 223 |
+
for path in source_root.rglob("*.png")
|
| 224 |
+
if path.is_file()
|
| 225 |
+
}
|
| 226 |
+
orphan_images = sorted(path.as_posix() for path in all_pngs - referenced_images)
|
| 227 |
+
failed_counts = Counter(row.get("render_status") for row in excluded)
|
| 228 |
+
warning_reasons = Counter(
|
| 229 |
+
reason
|
| 230 |
+
for row in metadata_by_split["validation"]
|
| 231 |
+
for reason in json.loads(row["quality_reasons_json"])
|
| 232 |
+
)
|
| 233 |
+
|
| 234 |
+
summary = {
|
| 235 |
+
"manifest_rows": len(manifest_rows),
|
| 236 |
+
"question_rows": len(question_rows),
|
| 237 |
+
"published_images": sum(len(rows) for rows in metadata_by_split.values()),
|
| 238 |
+
"splits": {split: len(rows) for split, rows in metadata_by_split.items()},
|
| 239 |
+
"excluded_manifest_rows": len(excluded),
|
| 240 |
+
"excluded_status_counts": dict(sorted(failed_counts.items(), key=lambda item: str(item[0]))),
|
| 241 |
+
"orphan_image_count": len(orphan_images),
|
| 242 |
+
"orphan_images": orphan_images,
|
| 243 |
+
"warning_reason_counts": dict(sorted(warning_reasons.items())),
|
| 244 |
+
"image_placement": dict(sorted(placement_counts.items())),
|
| 245 |
+
}
|
| 246 |
+
write_jsonl(reports_root / "excluded_records.jsonl", excluded)
|
| 247 |
+
(reports_root / "export_summary.json").write_text(
|
| 248 |
+
json.dumps(summary, ensure_ascii=False, indent=2) + "\n",
|
| 249 |
+
encoding="utf-8",
|
| 250 |
+
)
|
| 251 |
+
print(json.dumps(summary, ensure_ascii=False, indent=2))
|
| 252 |
+
return 0
|
| 253 |
+
|
| 254 |
+
|
| 255 |
+
if __name__ == "__main__":
|
| 256 |
+
raise SystemExit(main())
|
scripts/upload_hf_dataset.py
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Create and upload the standalone passive-single dataset repository."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import json
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
+
from huggingface_hub import HfApi
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
DEFAULT_REPO_ROOT = Path(__file__).resolve().parents[1]
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
def validate(repo_root: Path) -> None:
|
| 17 |
+
required = [
|
| 18 |
+
repo_root / "README.md",
|
| 19 |
+
repo_root / "data/train/metadata.jsonl",
|
| 20 |
+
repo_root / "data/validation/metadata.jsonl",
|
| 21 |
+
repo_root / "reports/export_summary.json",
|
| 22 |
+
]
|
| 23 |
+
missing = [str(path) for path in required if not path.is_file()]
|
| 24 |
+
if missing:
|
| 25 |
+
raise SystemExit("Missing required files:\n" + "\n".join(missing))
|
| 26 |
+
|
| 27 |
+
summary = json.loads((repo_root / "reports/export_summary.json").read_text(encoding="utf-8"))
|
| 28 |
+
if summary.get("published_images") != 3422:
|
| 29 |
+
raise SystemExit(f"Unexpected published image count: {summary.get('published_images')}")
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def main() -> int:
|
| 33 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 34 |
+
parser.add_argument("--repo-id", default="ESI-Bench/esi-bench-passive-single")
|
| 35 |
+
parser.add_argument("--repo-root", type=Path, default=DEFAULT_REPO_ROOT)
|
| 36 |
+
parser.add_argument("--private", action="store_true")
|
| 37 |
+
parser.add_argument("--revision", default=None)
|
| 38 |
+
parser.add_argument("--num-workers", type=int, default=None)
|
| 39 |
+
args = parser.parse_args()
|
| 40 |
+
|
| 41 |
+
repo_root = args.repo_root.resolve()
|
| 42 |
+
validate(repo_root)
|
| 43 |
+
|
| 44 |
+
api = HfApi()
|
| 45 |
+
api.create_repo(
|
| 46 |
+
repo_id=args.repo_id,
|
| 47 |
+
repo_type="dataset",
|
| 48 |
+
private=args.private,
|
| 49 |
+
exist_ok=True,
|
| 50 |
+
)
|
| 51 |
+
api.upload_large_folder(
|
| 52 |
+
repo_id=args.repo_id,
|
| 53 |
+
repo_type="dataset",
|
| 54 |
+
folder_path=repo_root,
|
| 55 |
+
revision=args.revision,
|
| 56 |
+
num_workers=args.num_workers,
|
| 57 |
+
ignore_patterns=[
|
| 58 |
+
"**/__pycache__/**",
|
| 59 |
+
"**/*.pyc",
|
| 60 |
+
".git/**",
|
| 61 |
+
],
|
| 62 |
+
)
|
| 63 |
+
print(f"Uploaded to https://huggingface.co/datasets/{args.repo_id}")
|
| 64 |
+
return 0
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
if __name__ == "__main__":
|
| 68 |
+
raise SystemExit(main())
|