Datasets:

Modalities:
Image
Text
Size:
< 1K
ArXiv:
Libraries:
Datasets
License:
davanstrien HF staff commited on
Commit
92b7b16
1 Parent(s): a84a8c5

coco config instance example

Browse files
Files changed (1) hide show
  1. README.md +97 -4
README.md CHANGED
@@ -72,11 +72,104 @@ For each of the tasks tagged for this dataset, give a brief description of the t
72
 
73
  Provide an JSON-formatted example and brief description of a typical instance in the dataset. If available, provide a link to further examples.
74
 
 
 
75
  ```
76
- {
77
- 'example_field': ...,
78
- ...
79
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  ```
81
 
82
  Provide any additional information that is not covered in the other sections about the data here. In particular describe any relationships between data points and if these relationships are made explicit.
 
72
 
73
  Provide an JSON-formatted example and brief description of a typical instance in the dataset. If available, provide a link to further examples.
74
 
75
+ An example instance from the COCO config:
76
+
77
  ```
78
+ {'height': 2944,
79
+ 'image': <PIL.PngImagePlugin.PngImageFile image mode=L size=2064x2944 at 0x7FA413CDA210>,
80
+ 'image_id': 0,
81
+ 'objects': [{'area': 435956,
82
+ 'bbox': [0.0, 244.0, 1493.0, 292.0],
83
+ 'category_id': 0,
84
+ 'id': 0,
85
+ 'image_id': '0',
86
+ 'iscrowd': False,
87
+ 'segmentation': []},
88
+ {'area': 88234,
89
+ 'bbox': [305.0, 127.0, 562.0, 157.0],
90
+ 'category_id': 2,
91
+ 'id': 0,
92
+ 'image_id': '0',
93
+ 'iscrowd': False,
94
+ 'segmentation': []},
95
+ {'area': 5244,
96
+ 'bbox': [1416.0, 196.0, 92.0, 57.0],
97
+ 'category_id': 2,
98
+ 'id': 0,
99
+ 'image_id': '0',
100
+ 'iscrowd': False,
101
+ 'segmentation': []},
102
+ {'area': 5720,
103
+ 'bbox': [1681.0, 182.0, 88.0, 65.0],
104
+ 'category_id': 2,
105
+ 'id': 0,
106
+ 'image_id': '0',
107
+ 'iscrowd': False,
108
+ 'segmentation': []},
109
+ {'area': 374085,
110
+ 'bbox': [0.0, 540.0, 163.0, 2295.0],
111
+ 'category_id': 1,
112
+ 'id': 0,
113
+ 'image_id': '0',
114
+ 'iscrowd': False,
115
+ 'segmentation': []},
116
+ {'area': 577599,
117
+ 'bbox': [104.0, 537.0, 253.0, 2283.0],
118
+ 'category_id': 1,
119
+ 'id': 0,
120
+ 'image_id': '0',
121
+ 'iscrowd': False,
122
+ 'segmentation': []},
123
+ {'area': 598670,
124
+ 'bbox': [304.0, 533.0, 262.0, 2285.0],
125
+ 'category_id': 1,
126
+ 'id': 0,
127
+ 'image_id': '0',
128
+ 'iscrowd': False,
129
+ 'segmentation': []},
130
+ {'area': 56,
131
+ 'bbox': [284.0, 539.0, 8.0, 7.0],
132
+ 'category_id': 1,
133
+ 'id': 0,
134
+ 'image_id': '0',
135
+ 'iscrowd': False,
136
+ 'segmentation': []},
137
+ {'area': 1868412,
138
+ 'bbox': [498.0, 513.0, 812.0, 2301.0],
139
+ 'category_id': 1,
140
+ 'id': 0,
141
+ 'image_id': '0',
142
+ 'iscrowd': False,
143
+ 'segmentation': []},
144
+ {'area': 307800,
145
+ 'bbox': [1250.0, 512.0, 135.0, 2280.0],
146
+ 'category_id': 1,
147
+ 'id': 0,
148
+ 'image_id': '0',
149
+ 'iscrowd': False,
150
+ 'segmentation': []},
151
+ {'area': 494109,
152
+ 'bbox': [1330.0, 503.0, 217.0, 2277.0],
153
+ 'category_id': 1,
154
+ 'id': 0,
155
+ 'image_id': '0',
156
+ 'iscrowd': False,
157
+ 'segmentation': []},
158
+ {'area': 52,
159
+ 'bbox': [1734.0, 1013.0, 4.0, 13.0],
160
+ 'category_id': 1,
161
+ 'id': 0,
162
+ 'image_id': '0',
163
+ 'iscrowd': False,
164
+ 'segmentation': []},
165
+ {'area': 90666,
166
+ 'bbox': [0.0, 1151.0, 54.0, 1679.0],
167
+ 'category_id': 1,
168
+ 'id': 0,
169
+ 'image_id': '0',
170
+ 'iscrowd': False,
171
+ 'segmentation': []}],
172
+ 'width': 2064}
173
  ```
174
 
175
  Provide any additional information that is not covered in the other sections about the data here. In particular describe any relationships between data points and if these relationships are made explicit.