File size: 692 Bytes
5b81e18 ebe6d07 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
---
license: openrail
---
Usage:
```
from datasets import load_dataset
coco_dataset = load_dataset("nyanko7/coco-hosted")
```
Each instance has the following structure:
```
{
'image': <PIL.JpegImagePlugin.JpegImageFile>,
'filepath': 'COCO_val2014_000000522418.jpg',
'sentids': [681330, 686718, 688839, 693159, 693204],
'filename': 'COCO_val2014_000000522418.jpg',
'imgid': 1,
'split': 'restval',
'sentences': {
'tokens': ['a', 'woman', 'wearing', 'a', 'net', 'on', 'her', 'head', 'cutting', 'a', 'cake'],
'raw': 'A woman wearing a net on her head cutting a cake. ',
'imgid': 1,
'sentid': 681330
},
'cocoid': 522418
}
``` |