Datasets:
gabrielmotablima
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -85,11 +85,7 @@ An example looks like below:
|
|
85 |
|
86 |
```
|
87 |
{
|
88 |
-
'
|
89 |
-
'sentids': [787980, 789366, 789888, 791316, 794853],
|
90 |
-
'filename': 'COCO_train2014_000000057870.jpg',
|
91 |
-
'imgid': 40504,
|
92 |
-
'split': 'train',
|
93 |
'caption': [
|
94 |
'Um restaurante possui mesas e cadeiras modernas de madeira.',
|
95 |
'Uma longa mesa de restaurante com cadeiras de vime com encosto arredondado.',
|
@@ -97,9 +93,13 @@ An example looks like below:
|
|
97 |
'Uma longa mesa com um arranjo de flores no meio para reuniões',
|
98 |
'Uma mesa é adornada com cadeiras de madeira com detalhes em azul.'
|
99 |
],
|
100 |
-
'cocoid': 57870,
|
101 |
'url': 'http://images.cocodataset.org/train2014/COCO_train2014_000000057870.jpg',
|
102 |
-
'
|
|
|
|
|
|
|
|
|
|
|
103 |
}
|
104 |
```
|
105 |
|
@@ -107,15 +107,15 @@ An example looks like below:
|
|
107 |
|
108 |
The data instances have the following fields:
|
109 |
|
|
|
|
|
|
|
110 |
- `filepath`: a `str` containing the path to image file.
|
111 |
-
- `sentids`: a `list` of `int` containing the 5 ordered identification numbers related to each caption.
|
112 |
- `filename`: a `str` containing name of image file.
|
|
|
113 |
- `imgid`: a `int` containing image identification number.
|
114 |
- `split`: a `str` containing data split. It stores texts: `train`, `val`, `restval` or `test`.
|
115 |
-
- `caption`: a `list` of `str` containing the 5 captions related to image.
|
116 |
- `cocoid`: an `int` containing example identifier in COCO dataset.
|
117 |
-
- `url`: a `str` containing the url to original image.
|
118 |
-
- `image`: a `PIL.Image.Image` object containing image.
|
119 |
|
120 |
### ✂️ Data Splits
|
121 |
|
|
|
85 |
|
86 |
```
|
87 |
{
|
88 |
+
'image': <PIL.JpegImagePlugin.JpegImageFile image mode=RGB size=640x480>,
|
|
|
|
|
|
|
|
|
89 |
'caption': [
|
90 |
'Um restaurante possui mesas e cadeiras modernas de madeira.',
|
91 |
'Uma longa mesa de restaurante com cadeiras de vime com encosto arredondado.',
|
|
|
93 |
'Uma longa mesa com um arranjo de flores no meio para reuniões',
|
94 |
'Uma mesa é adornada com cadeiras de madeira com detalhes em azul.'
|
95 |
],
|
|
|
96 |
'url': 'http://images.cocodataset.org/train2014/COCO_train2014_000000057870.jpg',
|
97 |
+
'filepath': 'train2014',
|
98 |
+
'filename': 'COCO_train2014_000000057870.jpg',
|
99 |
+
'sentids': [787980, 789366, 789888, 791316, 794853],
|
100 |
+
'imgid': 40504,
|
101 |
+
'split': 'train',
|
102 |
+
'cocoid': 57870
|
103 |
}
|
104 |
```
|
105 |
|
|
|
107 |
|
108 |
The data instances have the following fields:
|
109 |
|
110 |
+
- `image`: a `PIL.Image.Image` object containing image.
|
111 |
+
- `caption`: a `list` of `str` containing the 5 captions related to image.
|
112 |
+
- `url`: a `str` containing the url to original image.
|
113 |
- `filepath`: a `str` containing the path to image file.
|
|
|
114 |
- `filename`: a `str` containing name of image file.
|
115 |
+
- `sentids`: a `list` of `int` containing the 5 ordered identification numbers related to each caption.
|
116 |
- `imgid`: a `int` containing image identification number.
|
117 |
- `split`: a `str` containing data split. It stores texts: `train`, `val`, `restval` or `test`.
|
|
|
118 |
- `cocoid`: an `int` containing example identifier in COCO dataset.
|
|
|
|
|
119 |
|
120 |
### ✂️ Data Splits
|
121 |
|