advaitgupta commited on
Commit
da5bfd0
·
verified ·
1 Parent(s): b8f1a7e

Add video perception datasets

Browse files
Files changed (1) hide show
  1. README.md +49 -403
README.md CHANGED
@@ -9,67 +9,67 @@ language:
9
  tags:
10
  - vision
11
  - agents
12
- - gui
13
- - web
14
- - spatial-reasoning
15
- - game-understanding
16
- - robotics
17
- - manipulation
18
  size_categories:
19
  - 1K<n<10K
20
  configs:
21
- - config_name: 3dsrbench
22
- data_files:
23
- - split: train
24
- path: 3dsrbench/train-*
25
  - config_name: android-in-the-wild
26
  data_files:
27
  - split: train
28
  path: android-in-the-wild/train-*
29
- - config_name: but-they-are-cats-tutorial
30
  data_files:
31
  - split: train
32
- path: but-they-are-cats-tutorial/train-*
33
- - config_name: embspatial-bench
34
  data_files:
35
  - split: train
36
- path: embspatial-bench/train-*
37
- - config_name: erqa
38
  data_files:
39
  - split: train
40
- path: erqa/train-*
41
- - config_name: gameqa
42
  data_files:
43
  - split: train
44
- path: gameqa/train-*
45
- - config_name: manipbench
46
  data_files:
47
  - split: train
48
- path: manipbench/train-*
49
- - config_name: marioqa
50
  data_files:
51
  - split: train
52
- path: marioqa/train-*
53
- - config_name: mind2web
54
  data_files:
55
  - split: train
56
- path: mind2web/train-*
57
- - config_name: monday
58
  data_files:
59
  - split: train
60
- path: monday/train-*
61
  - config_name: omnispatial
62
  data_files:
63
  - split: train
64
  path: omnispatial/train-*
65
- - config_name: openeqa
66
  data_files:
67
  - split: train
68
- path: openeqa/train-*
69
- - config_name: perception-test
70
  data_files:
71
  - split: train
72
- path: perception-test/train-*
 
 
 
 
 
 
 
 
73
  - config_name: robo2vlm
74
  data_files:
75
  - split: train
@@ -78,405 +78,51 @@ configs:
78
  data_files:
79
  - split: train
80
  path: roborefit/train-*
81
- - config_name: screenspot
82
  data_files:
83
  - split: train
84
- path: screenspot/train-*
85
- - config_name: screenspot-pro
86
  data_files:
87
  - split: train
88
- path: screenspot-pro/train-*
89
  - config_name: sharerobot
90
  data_files:
91
  - split: train
92
  path: sharerobot/train-*
93
- - config_name: space-10
94
  data_files:
95
  - split: train
96
- path: space-10/train-*
97
- - config_name: spatialmm
98
  data_files:
99
  - split: train
100
- path: spatialmm/train-*
101
- - config_name: videogamebunny
102
  data_files:
103
  - split: train
104
- path: videogamebunny/train-*
105
- - config_name: vsi-bench
106
  data_files:
107
  - split: train
108
- path: vsi-bench/train-*
109
- dataset_info:
110
- - config_name: openeqa
111
- features:
112
- - name: Video
113
- dtype: video
114
- - name: Question
115
- dtype: string
116
- - name: Options
117
- list: string
118
- - name: Answer
119
- dtype: int64
120
- - name: Category
121
- dtype: string
122
- splits:
123
- - name: train
124
- num_bytes: 42234040347.0
125
- num_examples: 1000
126
- download_size: 539548
127
- dataset_size: 42234040347.0
128
- - config_name: perception-test
129
- features:
130
- - name: Video
131
- dtype: video
132
- - name: Question
133
- dtype: string
134
- - name: Options
135
- list: string
136
- - name: Answer
137
- dtype: int64
138
- splits:
139
- - name: train
140
- num_bytes: 6522333449.0
141
- num_examples: 997
142
- download_size: 216600
143
- dataset_size: 6522333449.0
144
- - config_name: sharerobot
145
- features:
146
- - name: Images_Base64
147
- list: string
148
- - name: Image_Count
149
- dtype: int32
150
- - name: Question
151
- dtype: string
152
- - name: Options
153
- list: string
154
- - name: Answer
155
- dtype: int32
156
- - name: Category
157
- dtype: string
158
- splits:
159
- - name: train
160
- num_bytes: 564326225
161
- num_examples: 1000
162
- download_size: 563906378
163
- dataset_size: 564326225
164
- - config_name: vsi-bench
165
- features:
166
- - name: Video
167
- dtype: video
168
- - name: Question
169
- dtype: string
170
- - name: Options
171
- list: string
172
- - name: Answer
173
- dtype: int64
174
- - name: Category
175
- dtype: string
176
- splits:
177
- - name: train
178
- num_bytes: 15051493138.0
179
- num_examples: 1000
180
- download_size: 434406
181
- dataset_size: 15051493138.0
182
  ---
183
 
184
  # AgentVQA: A Multi-Domain Visual Question Answering Dataset
185
 
186
- AgentVQA is a comprehensive dataset for training and evaluating visual agents across multiple domains, including GUI interaction, spatial reasoning, game understanding, and robot manipulation. The dataset contains multiple-choice questions based on screenshots, images, and videos.
187
-
188
- ## Dataset Structure
189
-
190
- The dataset is organized into four main domains:
191
-
192
- ### 1. Web Agents Domain (GUI Interaction)
193
-
194
- - **android-in-the-wild**: Android app interactions (1000 samples)
195
- - **mind2web**: Web navigation tasks (1000 samples, stratified by category)
196
- - **monday**: Mobile OS interactions (1000 samples, stratified by OS)
197
- - **screenspot**: GUI element grounding (1000 samples)
198
- - **screenspot-pro**: Advanced GUI grounding (1000 samples)
199
-
200
- ### 2. Spatial Reasoning Domain
201
-
202
- - **embspatial-bench**: Object-object and object-scene spatial relationships (1000 samples)
203
- - **space-10**: Multi-image spatial reasoning with entity presence tasks (1000 samples)
204
- - **3dsrbench**: 3D spatial reasoning benchmark
205
- - **spatialmm**: Spatial reasoning in multi-modal contexts
206
- - **omnispatial**: Comprehensive spatial reasoning across multiple task types
207
-
208
- ### 3. Game Understanding Domain
209
-
210
- - **gameqa**: 3D spatial perception and reasoning in games (1000 samples)
211
- - **videogamebunny**: Video game understanding across multiple categories
212
- - **but-they-are-cats-tutorial**: Game tutorial comprehension tasks
213
- - **marioqa**: Video-based event understanding in Super Mario gameplay
214
-
215
- ### 4. Robot Manipulation Domain
216
-
217
- - **robo2vlm**: Robot task success state evaluation (1000 samples)
218
- - **roborefit**: Robot grasping and manipulation tasks (1000 samples)
219
- - **erqa**: Embodied reasoning for robot question answering (400 samples)
220
- - **manipbench**: Robot manipulation trajectory planning (1000 samples)
221
- - **sharerobot**: Multi-frame robot task understanding (1000 samples)
222
-
223
  ## Loading the Dataset
224
 
225
- ### Load a specific dataset:
226
-
227
  ```python
228
  from datasets import load_dataset
229
 
230
- # Load a web agents dataset
231
- ds = load_dataset("advaitgupta/AgentVQA", "android-in-the-wild", split="train")
232
-
233
- # Load a spatial reasoning dataset
234
- ds = load_dataset("advaitgupta/AgentVQA", "embspatial-bench", split="train")
235
-
236
- # Load a game understanding dataset
237
- ds = load_dataset("advaitgupta/AgentVQA", "gameqa", split="train")
238
-
239
- # Load a robot manipulation dataset
240
- ds = load_dataset("advaitgupta/AgentVQA", "robo2vlm", split="train")
241
  ```
242
 
243
- ### Helper Functions:
244
-
245
- ```python
246
- from datasets import load_dataset
247
-
248
- # Available domains and their datasets
249
- DOMAINS = {
250
- "web_agents": [
251
- "android-in-the-wild",
252
- "mind2web",
253
- "monday",
254
- "screenspot",
255
- "screenspot-pro"
256
- ],
257
- "spatial_reasoning": [
258
- "embspatial-bench",
259
- "space-10",
260
- "3dsrbench",
261
- "spatialmm",
262
- "omnispatial"
263
- ],
264
- "game_understanding": [
265
- "gameqa",
266
- "videogamebunny",
267
- "but-they-are-cats-tutorial",
268
- "marioqa"
269
- ],
270
- "robot_manipulation": [
271
- "robo2vlm",
272
- "roborefit",
273
- "erqa",
274
- "manipbench",
275
- "sharerobot"
276
- ]
277
- }
278
-
279
- def load_domain_dataset(domain, dataset_name):
280
- """
281
- Load a specific dataset from a domain.
282
-
283
- Args:
284
- domain (str): Domain name (e.g., "web_agents", "robot_manipulation")
285
- dataset_name (str): Dataset name (e.g., "android-in-the-wild", "robo2vlm")
286
-
287
- Returns:
288
- Dataset object
289
- """
290
- return load_dataset("advaitgupta/AgentVQA", dataset_name, split="train")
291
-
292
- def load_all_domain_datasets(domain):
293
- """
294
- Load all datasets from a specific domain.
295
-
296
- Args:
297
- domain (str): Domain name (e.g., "web_agents", "robot_manipulation")
298
-
299
- Returns:
300
- dict: Dictionary mapping dataset names to Dataset objects
301
- """
302
- datasets = {}
303
- for dataset_name in DOMAINS[domain]:
304
- datasets[dataset_name] = load_dataset("advaitgupta/AgentVQA", dataset_name, split="train")
305
- return datasets
306
-
307
- def load_all_datasets():
308
- """
309
- Load all datasets from all domains.
310
-
311
- Returns:
312
- dict: Dictionary mapping dataset names to Dataset objects
313
- """
314
- all_datasets = {}
315
- for domain in DOMAINS:
316
- all_datasets.update(load_all_domain_datasets(domain))
317
- return all_datasets
318
-
319
- # Example usage:
320
- # Load specific dataset
321
- ds = load_domain_dataset("robot_manipulation", "robo2vlm")
322
-
323
- # Load all robot manipulation datasets
324
- robot_datasets = load_all_domain_datasets("robot_manipulation")
325
- print(robot_datasets.keys())
326
-
327
- # Load everything
328
- all_data = load_all_datasets()
329
- print(f"Total datasets loaded: {len(all_data)}")
330
- ```
331
-
332
- ## Dataset Fields
333
-
334
- ### Web Agents Domain
335
-
336
- #### android-in-the-wild
337
- - `image`: Screenshot of the app
338
- - `step_id`: Step number in the episode
339
- - `action_history`: Previous actions taken
340
- - `question`: The question about next action
341
- - `options`: List of 4 possible actions
342
- - `correct_answer`: Index of correct option (0-3)
343
- - `episode_goal`: Overall goal of the episode
344
- - `source_dataset`: Original source dataset name
345
-
346
- #### mind2web
347
- - `image`: Screenshot of the webpage
348
- - `question`: The question about next action
349
- - `options`: List of possible actions
350
- - `answer`: Index of correct option
351
- - `task`: Description of the task
352
- - `action_history`: Previous actions taken
353
- - `category`: Task category
354
- - `website`: Website name
355
- - `domain`: Domain category
356
-
357
- #### monday
358
- - `image`: Screenshot of the mobile interface
359
- - `goal`: Goal description
360
- - `question`: The question about next action
361
- - `options`: List of possible actions
362
- - `answer`: Index of correct option
363
- - `action_history`: Previous actions taken
364
- - `os`: Operating system (Android/iOS)
365
-
366
- #### screenspot & screenspot-pro
367
- - `image`: Screenshot
368
- - `question`: Instruction to complete
369
- - `options`: List of tap/click actions
370
- - `answer`: Index of correct option
371
-
372
- ### Spatial Reasoning Domain
373
-
374
- #### embspatial-bench
375
- - `Image`: Scene image
376
- - `Question`: Spatial relationship question
377
- - `Options`: List of 4 possible answers
378
- - `Answer`: Index of correct option (0-3)
379
- - `Category`: High-level category (e.g., "Object-Object Spatial Relationship")
380
-
381
- #### space-10
382
- - `Images`: List of 8 scene images (multi-image reasoning)
383
- - `Question`: Entity presence question
384
- - `Options`: List of 4 descriptions
385
- - `Answer`: Index of correct option (0-3)
386
- - `Category`: Task category (e.g., "Entity Presence")
387
-
388
- #### 3dsrbench
389
- - `Image`: 3D scene image
390
- - `Question`: Spatial reasoning question
391
- - `Options`: List of 4 possible answers
392
- - `Answer`: Index of correct option (0-3)
393
- - `Category`: Task category
394
-
395
- #### spatialmm
396
- - `Image`: Scene image
397
- - `Question`: Spatial reasoning question
398
- - `Options`: List of 4 possible answers
399
- - `Answer`: Index of correct option
400
-
401
- #### omnispatial
402
- - `Image`: Scene image
403
- - `Question`: Spatial reasoning question
404
- - `Options`: List of possible answers
405
- - `Answer`: Index of correct option
406
- - `Task_Type`: Main task type
407
- - `Sub_Task_Type`: Specific sub-task category
408
-
409
- ### Game Understanding Domain
410
-
411
- #### gameqa
412
- - `Image`: Game screenshot
413
- - `Question`: Game state reasoning question
414
- - `Options`: List of 4 possible answers
415
- - `Answer`: Index of correct option (0-3)
416
- - `Game_Type`: Type of game (e.g., "3D Spatial Perception & Reasoning")
417
- - `Game_Name`: Specific game name
418
-
419
- #### videogamebunny
420
- - `Image`: Game screenshot
421
- - `Question`: Game understanding question
422
- - `Options`: List of 4 possible answers
423
- - `Answer`: Index of correct option (0-3)
424
- - `Category`: Question category
425
-
426
- #### but-they-are-cats-tutorial
427
- - `Image`: Game tutorial screenshot
428
- - `Question`: Game mechanics question
429
- - `Options`: List of 4 possible answers
430
- - `Answer`: Index of correct option (0-3)
431
-
432
- #### marioqa
433
- - `Video`: Super Mario gameplay video clip
434
- - `Question`: Event-based question about gameplay
435
- - `Options`: List of 4 possible answers
436
- - `Answer`: Correct option letter (A, B, C, or D)
437
- - `Question_Type`: Type of question (e.g., "event-centric")
438
- - `Event`: Event type being queried (e.g., "Appear", "Kill")
439
-
440
- ### Robot Manipulation Domain
441
-
442
- #### robo2vlm
443
- - `Image`: Robot scene image
444
- - `Question`: Task success evaluation question
445
- - `Options`: List of 4 possible answers
446
- - `Answer`: Index of correct option (0-3)
447
- - `Category`: Question category (e.g., "task_success_state")
448
-
449
- #### roborefit
450
- - `Image`: Robot manipulation scene
451
- - `Question`: Grasping instruction
452
- - `Options`: List of 4 coordinate pairs (picking points)
453
- - `Answer`: Index of correct option (0-3)
454
-
455
- #### erqa
456
- - `Images`: List of robot scene image(s) with trajectory overlay (always a list, contains 1+ images)
457
- - `Question`: Embodied reasoning question
458
- - `Options`: List of 4 possible answers
459
- - `Answer`: Index of correct option (0-3)
460
- - `Category`: Question type (e.g., "Trajectory Reasoning", "Action Reasoning")
461
-
462
- #### manipbench
463
- - `Image`: Robot manipulation scene with grid overlay
464
- - `Question`: Trajectory planning question
465
- - `Options`: List of 4 picking point and trajectory combinations
466
- - `Answer`: Index of correct option (0-3)
467
- - `Category`: Task category (e.g., "droid_arti", "droid_pick_place")
468
-
469
- #### sharerobot
470
- - `Images`: List of robot trajectory frames (variable number of images per sample)
471
- - `Question`: Task understanding question
472
- - `Options`: List of 4 possible task descriptions
473
- - `Answer`: Index of correct option (0-3)
474
- - `Category`: Task type (e.g., "Past_Description_Task")
475
-
476
- ## Citation
477
-
478
- If you use this dataset, please cite the original papers for each component dataset.
479
-
480
  ## License
481
-
482
  MIT License
 
9
  tags:
10
  - vision
11
  - agents
12
+ - video-understanding
13
+ - egocentric
 
 
 
 
14
  size_categories:
15
  - 1K<n<10K
16
  configs:
 
 
 
 
17
  - config_name: android-in-the-wild
18
  data_files:
19
  - split: train
20
  path: android-in-the-wild/train-*
21
+ - config_name: mind2web
22
  data_files:
23
  - split: train
24
+ path: mind2web/train-*
25
+ - config_name: monday
26
  data_files:
27
  - split: train
28
+ path: monday/train-*
29
+ - config_name: screenspot
30
  data_files:
31
  - split: train
32
+ path: screenspot/train-*
33
+ - config_name: screenspot-pro
34
  data_files:
35
  - split: train
36
+ path: screenspot-pro/train-*
37
+ - config_name: embspatial-bench
38
  data_files:
39
  - split: train
40
+ path: embspatial-bench/train-*
41
+ - config_name: space-10
42
  data_files:
43
  - split: train
44
+ path: space-10/train-*
45
+ - config_name: 3dsrbench
46
  data_files:
47
  - split: train
48
+ path: 3dsrbench/train-*
49
+ - config_name: spatialmm
50
  data_files:
51
  - split: train
52
+ path: spatialmm/train-*
53
  - config_name: omnispatial
54
  data_files:
55
  - split: train
56
  path: omnispatial/train-*
57
+ - config_name: gameqa
58
  data_files:
59
  - split: train
60
+ path: gameqa/train-*
61
+ - config_name: videogamebunny
62
  data_files:
63
  - split: train
64
+ path: videogamebunny/train-*
65
+ - config_name: but-they-are-cats-tutorial
66
+ data_files:
67
+ - split: train
68
+ path: but-they-are-cats-tutorial/train-*
69
+ - config_name: marioqa
70
+ data_files:
71
+ - split: train
72
+ path: marioqa/train-*
73
  - config_name: robo2vlm
74
  data_files:
75
  - split: train
 
78
  data_files:
79
  - split: train
80
  path: roborefit/train-*
81
+ - config_name: erqa
82
  data_files:
83
  - split: train
84
+ path: erqa/train-*
85
+ - config_name: manipbench
86
  data_files:
87
  - split: train
88
+ path: manipbench/train-*
89
  - config_name: sharerobot
90
  data_files:
91
  - split: train
92
  path: sharerobot/train-*
93
+ - config_name: perception-test
94
  data_files:
95
  - split: train
96
+ path: perception-test/train-*
97
+ - config_name: vsi-bench
98
  data_files:
99
  - split: train
100
+ path: vsi-bench/train-*
101
+ - config_name: openeqa
102
  data_files:
103
  - split: train
104
+ path: openeqa/train-*
105
+ - config_name: videgothink
106
  data_files:
107
  - split: train
108
+ path: videgothink/train-*
109
+ - config_name: egoplan-bench
110
+ data_files:
111
+ - split: train
112
+ path: egoplan-bench/train-*
113
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  ---
115
 
116
  # AgentVQA: A Multi-Domain Visual Question Answering Dataset
117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  ## Loading the Dataset
119
 
 
 
120
  ```python
121
  from datasets import load_dataset
122
 
123
+ ds = load_dataset("advaitgupta/AgentVQA", "perception-test", split="train")
124
+ sample = ds[0]
 
 
 
 
 
 
 
 
 
125
  ```
126
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  ## License
 
128
  MIT License