fashionfail / README.md
rizavelioglu's picture
Update README.md
da9f69a verified
|
raw
history blame
4.01 kB
metadata
license: other
license_name: server-side-public-license
license_link: https://www.mongodb.com/licensing/server-side-public-license

FashionFail Dataset

Annotation format

We follow the annotation format of the COCO dataset. The annotations are stored in the JSON format and are organized as follows:

{
 "info"           : info,
 "licenses"       : [license],
 "categories"     : [category],
 "images"         : [image],
 "annotations"    : [annotation],
}

info{
  "year"          : int,
  "version"       : str,
  "description"   : str,
  "contributor"   : str,
  "url"           : str,
  "date_created"  : datetime,
}

license{
  "id"            : int,
  "name"          : str,
  "url"           : str,
}

category{
  "id"            : int,
  "name"          : str,
  "supercategory" : str,
}

image{
  "id"            : int,
  "file_name"     : str,
  "height"        : int,
  "width"         : int,
  "license"       : int,
  "original_url"  : str,
}

annotation{
  "id"            : int,
  "image_id"      : int,
  "category_id"   : int,
  "area"          : int,
  "iscrowd"       : int,  # always 0 as instances represent a single object
  "bbox"          : [x,y,width,height],
  "segmentation"  : RLE,  # RLE: {"size", (height, widht), "counts": str}
}

Comparison with Fashionpedia

Fashionpedia(FP) has the following splits (with number of images); Train (45,623), Validation (1,158), and Test (2,044).
FashionFail(FF) has the following splits (with number of images); Train (1,344), Validation (150), and Test (1,001).

The following table shows the number of samples in each split for each class. For example, FF-train contains 57 samples of shirt, blouse class. As FF has exactly 1 annotation per image, this means there are 57 images (out of 1344) of shirt, blouse class inside FF-train. On the contrary, FP has many annotations per image — FP-val has a total of 4481 samples for 1158 images.

Class / Split FF-train FF-val FF-test FP-train⬇ FP-val
23 shoe 441 49 328 46374 1566
10 dress 29 3 22 18739 508
1 top,t-shirt,sweats 71 8 53 16548 477
6 pants 53 6 40 12414 314
4 jacket 45 5 34 7833 183
24 bag, wallet 146 16 109 7217 214
0 shirt, blouse 57 6 42 6161 102
8 skirt 26 3 20 5046 162
13 glasses 62 7 46 4855 130
21 tights, stockings 39 4 29 4326 122
15 headband,head c. 45 5 33 3470 109
18 watch 99 11 73 3389 84
9 coat 12 1 8 3124 104
7 shorts 52 6 39 2756 106
22 sock 22 3 17 2582 87
14 hat 88 10 65 2518 74
17 glove 12 2 10 1385 31
25 scarf 2 0 1 1374 48
3 cardigan 1 0 1 1107 12
11 jumpsuit 16 2 12 922 21
5 vest 23 3 18 719 22
26 umbrella 3 0 1 135 5
TOTAL 1344 150 1001 152994 4481