bentrevett commited on
Commit
237399b
·
verified ·
1 Parent(s): c1492c7

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +51 -0
README.md CHANGED
@@ -225,4 +225,55 @@ configs:
225
  path: data/train-*
226
  - split: test
227
  path: data/test-*
 
 
 
 
228
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  path: data/train-*
226
  - split: test
227
  path: data/test-*
228
+ task_categories:
229
+ - image-classification
230
+ size_categories:
231
+ - 10K<n<100K
232
  ---
233
+ # CUB-200-2011
234
+
235
+ This dataset contains the Caltech-UCSD Birds-200-2011 (CUB-200-2011) dataset, from [here](https://www.vision.caltech.edu/datasets/cub_200_2011/).
236
+
237
+ Each example consists of an image, a label, and a bounding box.
238
+
239
+ ### Data Splits
240
+
241
+ The CUB-200-2011 dataset has 2 splits: _train_ and _test_.
242
+
243
+ | Dataset Split | Number of Instances in Split |
244
+ | ------------- | ------------------------------------------- |
245
+ | Train | 5,994 |
246
+ | Test | 5,794 |
247
+
248
+ There are 200 classes, with either 29-30 examples per class in the train split. The test split has more variable of examples per class, most are 29-30 but there are some with fewer (the lowest is 11).
249
+
250
+ ### Bounding Boxes
251
+
252
+ Each bounding box is in the form of [x0, y0, x1, y1] and can be used as such:
253
+
254
+ ```python
255
+ import datasets
256
+ from PIL import Image, ImageDraw
257
+ import matplotlib.pyplot as plt
258
+
259
+ dataset = datasets.load_dataset("bentrevett/cub-200-2011")
260
+ example = dataset["train"][0]
261
+
262
+ image = example["image"]
263
+ bbox = example["bbox"]
264
+ draw = ImageDraw.Draw(image)
265
+ draw.rectangle(bbox, outline="red", width=2)
266
+ plt.imshow(image)
267
+ ```
268
+
269
+ ### Citation Information
270
+
271
+ ```
272
+ @techreport{WahCUB_200_2011,
273
+ Title = ,
274
+ Author = {Wah, C. and Branson, S. and Welinder, P. and Perona, P. and Belongie, S.},
275
+ Year = {2011}
276
+ Institution = {California Institute of Technology},
277
+ Number = {CNS-TR-2011-001}
278
+ }
279
+ ```