yuqun commited on
Commit
856de74
·
verified ·
1 Parent(s): 3051c3d

Add files using upload-large-folder tool

Browse files
Files changed (6) hide show
  1. .gitattributes +1 -0
  2. README.md +121 -0
  3. train.jsonl +3 -0
  4. train_images.tar +3 -0
  5. val.jsonl +0 -0
  6. val_images.tar +3 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ train.jsonl filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ task_categories:
4
+ - visual-question-answering
5
+ tags:
6
+ - spatial-reasoning
7
+ - 3d
8
+ - scannetpp
9
+ size_categories:
10
+ - 100K<n<1M
11
+ configs:
12
+ - config_name: default
13
+ data_files:
14
+ - split: train
15
+ path: train.jsonl
16
+ - split: validation
17
+ path: val.jsonl
18
+ ---
19
+
20
+ # 3D-Point-QA
21
+
22
+ 3D-Point-QA is a low-level spatial reasoning benchmark introduced in
23
+ **Render to Reason: Novel-View Semantic Prediction Improves Spatial Understanding in VLMs**.
24
+
25
+ [[Project Page]](https://yuqunw.github.io/Render2Reason/) [[Paper]](https://arxiv.org/abs/8175559) [[Code]](https://github.com/yuqunw/R2R)
26
+
27
+ Existing spatial benchmarks refer to objects only by name, so a wrong answer can
28
+ come from either geometric reasoning or object grounding. 3D-Point-QA instead marks
29
+ points with colored arrows on one to four views, and asks questions that are
30
+ straightforward to answer given camera poses and point clouds, without object-level
31
+ reasoning. Answers are computed from the ground-truth meshes and camera poses of
32
+ [ScanNet++](https://kaldir.vc.in.tum.de/scannetpp), following its official splits.
33
+
34
+ ## Tasks
35
+
36
+ | Task (`task_type`) | Question | Metric |
37
+ | --- | --- | --- |
38
+ | Point-to-camera distance (`distance_to_camera`) | Distance from each marked point to the camera | δ<sub>1.25</sub> |
39
+ | Point-to-point distance (`distance_prediction`) | 3D distance between two marked points | δ<sub>1.25</sub> |
40
+ | Relative distance (`distance_infer`) | Which of two points is closer to a reference point | accuracy |
41
+ | Point matching (`position_matching`) | Where a marked point appears in another view | PCK@0.05 |
42
+ | 3D coordinate mapping (`spatial_imagination_3d`) | 3D coordinates of the marked points in a common frame | % within 0.5 m |
43
+ | Object counting (`counting`, train only) | Number of distinct objects of a class per view and in total | — |
44
+
45
+ ## Splits
46
+
47
+ | Split | Scenes | Questions | Images |
48
+ | --- | --- | --- | --- |
49
+ | `train` | 855 (ScanNet++ `nvs_sem_train`) | 97,999 (17,955 per point task + 8,224 counting) | 90,767 |
50
+ | `validation` | 50 (ScanNet++ `nvs_sem_val`) | 5,250 (1,050 per point task) | 5,098 |
51
+
52
+ Scenes that appear in VSI-Bench are excluded from training.
53
+
54
+ ## Files
55
+
56
+ ```
57
+ train.jsonl train_images.tar -> images/<scene>/frame_XXXXXX.jpg
58
+ val.jsonl val_images.tar -> images/<scene>/frame_XXXXXX.jpg
59
+ ```
60
+
61
+ ```bash
62
+ hf download yuqun/3D-Point-QA --repo-type dataset --local-dir 3d_point_qa
63
+ cd 3d_point_qa && tar -xf val_images.tar # and train_images.tar for training
64
+ ```
65
+
66
+ Image paths in the jsonl files are relative to the dataset root.
67
+
68
+ ## Format
69
+
70
+ Each line is one question:
71
+
72
+ ```json
73
+ {
74
+ "id": "09c1414f1b_distance_to_camera_23706972",
75
+ "scene_id": "09c1414f1b",
76
+ "task_type": "distance_to_camera",
77
+ "images": ["images/09c1414f1b/frame_004980.jpg"],
78
+ "points": [
79
+ {"color": "red", "label": "surfboard", "obj_id": 188, "img_idx": 0, "norm_xy": [75, 262]},
80
+ ...
81
+ ],
82
+ "conversations": [
83
+ {"from": "human", "value": "In the image, colored arrows indicate points on three objects: ..."},
84
+ {"from": "gpt", "value": "Red: 3.4\nGreen: 3.1\nBlue: 5.3"}
85
+ ],
86
+ "ground_truth_dists_m": [3.41, 3.06, 5.28]
87
+ }
88
+ ```
89
+
90
+ - `points`: the marked points. `img_idx` is the index into `images`, and `norm_xy` is the
91
+ pixel position scaled to [0, 1000] (x from the left, y from the top).
92
+ - **The images are stored without arrows.** The arrows are drawn at load time from
93
+ `points` (see `draw_arrows_on_image` in the [code](https://github.com/yuqunw/R2R)), so
94
+ you can render them at any size.
95
+ - Task-specific ground truth: `ground_truth_dists_m` (point-to-camera), `distance_m`
96
+ (point-to-point), `closer_color`, `d_red_green` and `d_red_blue` (relative distance),
97
+ `answer_norm_xy` and `answer_img_idx` (point matching), `positions_m` and `world_points`
98
+ (3D mapping), `count`, `per_frame_counts`, `label` and `n_views` (counting).
99
+
100
+ ## Evaluation
101
+
102
+ ```bash
103
+ cd R2R/qwen-vl-finetune
104
+ CKPT=checkpoints/R2R-Qwen3-VL-8B GPUS="0 1 2 3" bash scripts/eval_3d_point_qa.sh
105
+ ```
106
+
107
+ ## License
108
+
109
+ The images and annotations are derived from [ScanNet++](https://kaldir.vc.in.tum.de/scannetpp)
110
+ and are subject to the ScanNet++ Terms of Use.
111
+
112
+ ## Citation
113
+
114
+ ```bibtex
115
+ @article{wu2026render2reason,
116
+ title={Render to Reason: Novel-View Semantic Prediction Improves Spatial Understanding in VLMs},
117
+ author={Wu, Yuqun and Xiao, Yao and Zou, Chuhang and Wang, Shenlong and Hoiem, Derek},
118
+ journal={arXiv preprint arXiv:8175559},
119
+ year={2026}
120
+ }
121
+ ```
train.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db08a03a8a69d05300dd04197db3ebd4ef46013f78b6f31484ef7cc9f9c07b8e
3
+ size 97276694
train_images.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62d9a216b9c9d9f107dad9eae7d36c1bbf998c5c259217c7da606b5cd313679f
3
+ size 3906897920
val.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
val_images.tar ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:298c0118c137222c106724acb949d263e882790fc901795d21ed0e1575c94dec
3
+ size 231598080