ViewSuite-ScanNet / README.md
JamesK2W's picture
Add files using upload-large-folder tool
dd18159 verified
|
Raw History Blame Contribute Delete
6.66 kB
---
license: cc-by-nc-4.0
pretty_name: ViewSuite (ScanNet)
language:
- en
task_categories:
- visual-question-answering
- image-text-to-text
tags:
- view-planning
- camera-control
- active-perception
- embodied-ai
- 3d-scenes
- scannet
- spatial-reasoning
size_categories:
- 10K<n<100K
configs:
- config_name: path_to_view
data_files:
- split: train
path: data/path_to_view/train.parquet
- split: dev
path: data/path_to_view/dev.parquet
- split: test
path: data/path_to_view/test.parquet
- config_name: view_to_path
data_files:
- split: train
path: data/view_to_path/train.parquet
- split: dev
path: data/view_to_path/dev.parquet
- split: test
path: data/view_to_path/test.parquet
- config_name: interactive_view_planning
default: true
data_files:
- split: train
path: data/interactive_view_planning/train.parquet
- split: dev
path: data/interactive_view_planning/dev.parquet
- split: test
path: data/interactive_view_planning/test.parquet
---
# ViewSuite (ScanNet)
The ViewSuite benchmark for camera-view planning in ScanNet scenes, as used for the experiments of [*Planning with the Views*](https://arxiv.org/abs/2605.29563): task files with the prompts, camera poses, options and answers of all three tasks and all splits. **The images are not included** (ScanNet Terms of Use); `render/render_images.py` re-creates them from the ScanNet meshes and checks each one against the hash of the original.
## Tasks and splits
Each instance is a pair of camera views in one scene: a start view and a target view, related by a short
sequence of discrete camera actions, plus a top-down view of the scene. Every pair gives three tasks:
- **Path-to-View (P2V)**: given the start view, the top-down view and an action sequence, pick the resulting view
among four images (A-D).
- **View-to-Path (V2P)**: given the start view, the top-down view and the target view, pick the action sequence that
leads there among four options (A-D).
- **Interactive View Planning (IVP)**: from the start view, move the camera with actions (up to four per turn), see
the new view after each turn, and submit the 6-DoF camera-to-world pose of the target view
(`answer(tx, ty, tz, rx, ry, rz)`, meters and Euler XYZ degrees) within ten turns. `gt_answer` is that pose; the
ground-truth action sequence from the start view is stored with every instance (`SCHEMA.md`).
| Task | Config | train | dev | test |
|---|---|---|---|---|
| Path-to-View (P2V) | `path_to_view` | 3,419 | 378 | 530 |
| View-to-Path (V2P) | `view_to_path` | 3,419 | 378 | 530 |
| Interactive View Planning (IVP) | `interactive_view_planning` | 3,419 | 378 | 530 |
| Scenes | | 193 | 22 | 29 |
The splits are scene-disjoint (the scene split of ViewSuite-5K). Ground-truth paths have 2-10 actions; the test set is split into Short / Long by the unified view distance between start and target (d < 3: 187, d >= 3: 343 pairs).
## Camera and actions
Views are 256 x 256 Habitat-Sim renders of the ScanNet v2 meshes (`<scene>_vh_clean.ply`). Ten actions: move forward / backward / left / right in the horizontal plane (0.5 m), up / down along the world vertical axis (0.5 m), turn left / right (30 deg yaw), look up / down (30 deg pitch, within +-60 deg); no roll. IVP success: submitted pose within 0.5 m and 30 deg of the target. Poses are in the ScanNet scene frame (z up); `c2w_extrinsics` are OpenCV camera-to-world matrices and `c2w_intrinsics` the pinhole K of the 256 x 256 image.
## Files
| Path | Content |
|---|---|
| `corpus/*.jsonl` | the nine task files, byte-identical to the files our evaluations read (their SHA-256 are in `MANIFEST.json`) |
| `data/<task>/<split>.parquet` | the same rows for `datasets`, plus `jsonl_idx` (row number in the JSON Lines file); `image_detail` and `meta` as JSON text |
| `render/images.jsonl` | the 21,879 images the task files reference: path, scene, kind, camera, size, SHA-256 of the original PNG file and of its pixels |
| `render/render_images.py` | re-creates the images and checks them against those hashes |
| `SCHEMA.md` | every field |
## Loading
```python
from datasets import load_dataset
ivp = load_dataset("MLL-Lab/ViewSuite-ScanNet", "interactive_view_planning", split="test")
row = ivp[0]
print(row["prompt"], row["image_path"], row["gt_answer"])
```
`image_detail` and `meta` are JSON text in the Parquet files (`json.loads(row["meta"])`). The code release reads the
JSON Lines files in `corpus/` directly; download the repository and point the evaluation at that directory:
```bash
hf download MLL-Lab/ViewSuite-ScanNet --repo-type dataset --local-dir data/scannet
```
## Re-creating the images
1. Obtain ScanNet v2 from the official source (http://www.scan-net.org/) after agreeing to the ScanNet Terms of Use; only the `<scene>_vh_clean.ply` meshes of the scenes listed in `render/images.jsonl` are needed.
2. Install the code release (https://github.com/mll-lab-nu/viewagent) and its Habitat-Sim environment.
3. Render into the corpus directory and verify:
```bash
python render/render_images.py --out data/scannet/corpus --scans <ScanNet scans dir> --gpu 0
```
The script writes each PNG at the path the task files use and checks its pixels against the stored hash. When we built the corpus, every stored image re-rendered pixel-identically; other GPUs or graphics drivers can give small differences, which the script reports. Rendering needs a GPU with OpenGL/EGL.
## Relation to the original ViewSuite release
This corpus was rebuilt for these experiments: the cameras of the released ViewSuite-15K were re-rendered with Habitat-Sim at 256 x 256 (not Open3D at 512 x 512), the action space has no roll and moves in the horizontal plane, and the P2V / V2P options were redrawn so that their text does not reveal the answer. Numbers on this corpus are not comparable with numbers on the original release.
## License and terms
The task files (prompts, camera poses, options, answers) are released under CC BY-NC 4.0 (`LICENSE`). The scenes are ScanNet's: to render the images you need ScanNet access under the ScanNet Terms of Use (non-commercial research and education). The `prompt` texts and stored field values are kept exactly as evaluated, including internal build tags in `meta`.
## Citation
```bibtex
@article{wang2026viewagent,
title = {Planning with the Views},
author = {Wang, Kangrui and Li, Linjie and Yang, Zhengyuan and Chen, Shiqi and
Wang, Zihan and Fei-Fei, Li and Wu, Jiajun and Guibas, Leonidas and
Wang, Lijuan and Li, Manling},
journal = {arXiv preprint arXiv:2605.29563},
year = {2026}
}
```