Update README to hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
viewer: false
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
#
|
| 6 |
+
|
| 7 |
+
## Overview
|
| 8 |
+
- `Vision question Answer (VQA) dataset`: VQA is a new dataset containing open-ended questions about images.
|
| 9 |
+
These questions require an understanding of vision, language and commonsense knowledge to answer.
|
| 10 |
+
- `Reference`: Split into small-train & small-val dataset from https://huggingface.co/datasets/Graphcore/vqa validation dataset
|
| 11 |
+
|
| 12 |
+
## Dataset Structure
|
| 13 |
+
|
| 14 |
+
### Data Instances
|
| 15 |
+
|
| 16 |
+
A data point comprises an image and its object annotations.
|
| 17 |
+
|
| 18 |
+
```
|
| 19 |
+
{'question': 'Where is he looking?',
|
| 20 |
+
'question_type': 'none of the above',
|
| 21 |
+
'question_id': 262148000,
|
| 22 |
+
'image_id': 'images/COCO_val2014_000000262148.jpg',
|
| 23 |
+
'answer_type': 'other',
|
| 24 |
+
'label': {'ids': ['at table', 'down', 'skateboard', 'table'],
|
| 25 |
+
'weights': [0.30000001192092896,
|
| 26 |
+
1.0,
|
| 27 |
+
0.30000001192092896,
|
| 28 |
+
0.30000001192092896]}}
|
| 29 |
+
```
|
| 30 |
+
|
| 31 |
+
### Data Fields
|
| 32 |
+
|
| 33 |
+
- `question`: the question to be answered from the image
|
| 34 |
+
- `question_type`:
|
| 35 |
+
- `image_id`: the path to the image the question refers to
|
| 36 |
+
- `answer_type`:
|
| 37 |
+
- `label`: the annotations
|
| 38 |
+
- `ids`:
|
| 39 |
+
- `weights`:
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
### Data Splits
|
| 43 |
+
|
| 44 |
+
- `Training dataset` (1169)
|
| 45 |
+
- `Val dataset` (100)
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
## Usage
|
| 49 |
+
```
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
dataset = load_dataset("SIS-2024-spring/coco_vqa_small_dataset")
|
| 52 |
+
```
|