Commit ·
bf87eb4
1
Parent(s): 61e1401
Upload test set json files.
Browse files- README.md +110 -0
- test-AndroidControl-click.json +0 -0
- test-AndroidControl.json +0 -0
README.md
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# AndroidControl Test Set (JSON)
|
| 2 |
+
|
| 3 |
+
## Overview
|
| 4 |
+
|
| 5 |
+
This dataset provides the **test split** of [AndroidControl](https://arxiv.org/abs/2405.01958) in a ready-to-use JSON format, extracted from the original Google Cloud data release.
|
| 6 |
+
|
| 7 |
+
**Motivation:** Most GUI Grounding works use [GUI-Actor-Data](https://huggingface.co/datasets/cckevinn/GUI-Actor-Data) for training, which includes AndroidControl images but **does not include the test set JSON**. Obtaining the test split from the original source requires downloading the full dataset (~47 GB) from Google Cloud, which is cumbersome. This dataset provides the test split JSON files directly so researchers can run evaluations immediately.
|
| 8 |
+
|
| 9 |
+
**Images:** Screenshots are not included in this repository. Use the images from [cckevinn/GUI-Actor-Data](https://huggingface.co/datasets/cckevinn/GUI-Actor-Data), which covers all splits including the test set.
|
| 10 |
+
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
## Files
|
| 14 |
+
|
| 15 |
+
| File | Episodes | Steps | Description |
|
| 16 |
+
|------|----------|-------|-------------|
|
| 17 |
+
| `test-AndroidControl.json` | 1,543 | 8,444 | All action types |
|
| 18 |
+
| `test-AndroidControl-click.json` | 1,484 | 5,074 | Click actions only |
|
| 19 |
+
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
## Data Format
|
| 23 |
+
|
| 24 |
+
Both files share the same structure: a **list of episodes**, where each episode is a **list of steps**.
|
| 25 |
+
|
| 26 |
+
```json
|
| 27 |
+
[
|
| 28 |
+
[ // episode
|
| 29 |
+
{ // step
|
| 30 |
+
"img_url": "android_control_episode_[27]_0.png",
|
| 31 |
+
"img_size": [1080, 2400],
|
| 32 |
+
"episode_id": 27,
|
| 33 |
+
"goal": "Open the Zoho Meet app, view the scheduled meetings.",
|
| 34 |
+
"instruction": "Open the Zoho Meet app",
|
| 35 |
+
"action": {
|
| 36 |
+
"action_type": "open_app",
|
| 37 |
+
"app_name": "Zoho Meeting"
|
| 38 |
+
}
|
| 39 |
+
},
|
| 40 |
+
...
|
| 41 |
+
],
|
| 42 |
+
...
|
| 43 |
+
]
|
| 44 |
+
```
|
| 45 |
+
|
| 46 |
+
### Fields
|
| 47 |
+
|
| 48 |
+
| Field | Type | Description |
|
| 49 |
+
|-------|------|-------------|
|
| 50 |
+
| `img_url` | string | Filename of the corresponding screenshot, format: `android_control_episode_[{episode_id}]_{step_idx}.png` |
|
| 51 |
+
| `img_size` | [int, int] | Screenshot resolution `[width, height]`, typically `[1080, 2400]` |
|
| 52 |
+
| `episode_id` | int | Episode ID from the original AndroidControl dataset |
|
| 53 |
+
| `goal` | string | High-level task goal in natural language |
|
| 54 |
+
| `instruction` | string | Step-level instruction |
|
| 55 |
+
| `action` | object | Ground-truth action (see below) |
|
| 56 |
+
|
| 57 |
+
### Action Types
|
| 58 |
+
|
| 59 |
+
| `action_type` | Additional Fields | Description |
|
| 60 |
+
|---------------|------------------|-------------|
|
| 61 |
+
| `click` | `x`, `y` (normalized 0–1) | Tap on screen coordinates |
|
| 62 |
+
| `scroll` | `direction` (`up`/`down`/`left`/`right`) | Scroll gesture |
|
| 63 |
+
| `type` | `text` | Type text input |
|
| 64 |
+
| `navigate_back` | — | Press back button |
|
| 65 |
+
| `navigate_home` | — | Press home button |
|
| 66 |
+
| `open_app` | `app_name` | Launch an application |
|
| 67 |
+
| `wait` | — | Wait for screen to load |
|
| 68 |
+
|
| 69 |
+
> `test-AndroidControl-click.json` contains only `click` steps and is intended for point-grounding evaluation.
|
| 70 |
+
|
| 71 |
+
---
|
| 72 |
+
|
| 73 |
+
## Usage
|
| 74 |
+
|
| 75 |
+
```python
|
| 76 |
+
import json
|
| 77 |
+
|
| 78 |
+
with open("test-AndroidControl.json") as f:
|
| 79 |
+
episodes = json.load(f)
|
| 80 |
+
|
| 81 |
+
# episodes[i] → i-th episode (list of steps)
|
| 82 |
+
# episodes[i][j] → j-th step of i-th episode
|
| 83 |
+
# episodes[i][j]["img_url"] → match against GUI-Actor-Data images
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
---
|
| 87 |
+
|
| 88 |
+
## Source
|
| 89 |
+
|
| 90 |
+
Derived from the [AndroidControl](https://arxiv.org/abs/2405.01958) dataset released by Google Research. This repository contains only the test split in a reformatted JSON structure; no images are redistributed.
|
| 91 |
+
|
| 92 |
+
Please cite the original work if you use this dataset:
|
| 93 |
+
|
| 94 |
+
```bibtex
|
| 95 |
+
@article{li2024effects,
|
| 96 |
+
title={On the Effects of Data Scale on Computer Control Agents},
|
| 97 |
+
author={Li, Wei and Bishop, William and Li, Alice and Rawles, Chris and Campbell-Ajala, Folawiyo and Tyamagundlu, Divya and Riva, Oriana},
|
| 98 |
+
journal={arXiv preprint arXiv:2406.03679},
|
| 99 |
+
year={2024}
|
| 100 |
+
}
|
| 101 |
+
```
|
| 102 |
+
|
| 103 |
+
## License
|
| 104 |
+
|
| 105 |
+
The original AndroidControl dataset is licensed under the **Apache License 2.0**:
|
| 106 |
+
|
| 107 |
+
> Copyright 2024 The Google Research Authors.
|
| 108 |
+
> Licensed under the Apache License, Version 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|
| 109 |
+
|
| 110 |
+
This repository redistributes a subset of that data in reformatted form and is therefore also released under the **Apache License 2.0**.
|
test-AndroidControl-click.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
test-AndroidControl.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|