Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
130
2.1k
objects
dict
segmentation
listlengths
1
146
⌀
{ "bbox": [ [ 250, 119, 6, 10 ], [ 139, 114, 11, 15 ], [ 2, 0, 596, 136 ], [ 124, 300, 172, 163 ], [ 331, 105, 207, 325 ], [ 267, 90, 31...
[ { "label": "wall", "category": 0, "points": [ [ 252, 119 ], [ 250, 129 ], [ 256, 129 ] ] }, { "label": "wall", "category": 0, "points": [ [ 144, 114 ], [ 143,...
{ "bbox": [ [ 0, 0, 349, 104 ], [ 186, 231, 162, 14 ], [ 291, 160, 17, 7 ], [ 254, 147, 21, 19 ], [ 75, 140, 35, 14 ], [ 0, 136, 163, ...
[ { "label": "wall", "category": 0, "points": [ [ 0, 0 ], [ 0, 77 ], [ 43, 78 ], [ 51, 81 ], [ 66, 81 ], [ 68, 78 ], [ 66, ...
{ "bbox": [ [ 78, 1, 619, 420 ], [ 753, 0, 13, 509 ], [ 0, 376, 362, 134 ], [ 371, 363, 390, 147 ], [ 111, 0, 552, 73 ], [ 277, 399, 84,...
[ { "label": "wall", "category": 0, "points": [ [ 78, 1 ], [ 96, 11 ], [ 94, 31 ], [ 97, 42 ], [ 101, 121 ], [ 101, 314 ], [ ...
{ "bbox": [ [ 188, 97, 17, 15 ], [ 162, 94, 12, 13 ], [ 0, 1, 193, 146 ], [ 0, 147, 9, 11 ], [ 0, 100, 255, 154 ], [ 191, 1, 63, 1...
[ { "label": "wall", "category": 0, "points": [ [ 202, 97 ], [ 190, 98 ], [ 188, 105 ], [ 192, 109 ], [ 192, 112 ], [ 197, 110 ], [ ...
{ "bbox": [ [ 248, 128, 6, 18 ], [ 246, 88, 8, 38 ], [ 0, 2, 73, 129 ], [ 75, 0, 180, 143 ], [ 85, 225, 12, 17 ], [ 107, 211, 13, ...
[ { "label": "wall", "category": 0, "points": [ [ 254, 128 ], [ 253, 133 ], [ 248, 140 ], [ 249, 144 ], [ 254, 146 ] ] }, { "label": "wall", "category...
{ "bbox": [ [ 31, 178, 132, 159 ], [ 0, 73, 380, 404 ], [ 289, 15, 478, 429 ], [ 0, 322, 296, 189 ], [ 31, 142, 133, 48 ], [ 0, 0, 767, ...
[ { "label": "wall", "category": 0, "points": [ [ 163, 187 ], [ 81, 178 ], [ 81, 190 ], [ 79, 193 ], [ 54, 190 ], [ 31, 191 ], [ ...
{ "bbox": [ [ 73, 116, 14, 12 ], [ 232, 1, 74, 7 ], [ 112, 1, 123, 137 ], [ 56, 1, 18, 92 ], [ 1, 1, 43, 134 ], [ 0, 157, 307, 92 ...
[ { "label": "wall", "category": 0, "points": [ [ 73, 116 ], [ 75, 128 ], [ 87, 126 ] ] }, { "label": "wall", "category": 0, "points": [ [ 232, 8 ], [ 245, ...
{ "bbox": [ [ 396, 565, 114, 125 ], [ 259, 456, 22, 3 ], [ 74, 360, 161, 241 ], [ 84, 1, 77, 5 ], [ 0, 1, 51, 334 ], [ 189, 0, 320, ...
[ { "label": "wall", "category": 0, "points": [ [ 410, 565 ], [ 396, 682 ], [ 405, 690 ], [ 412, 690 ], [ 510, 669 ], [ 509, 579 ], ...
{ "bbox": [ [ 0, 1, 681, 183 ], [ 0, 227, 681, 283 ], [ 229, 171, 283, 55 ], [ 2, 227, 343, 35 ], [ 27, 249, 21, 9 ], [ 57, 245, 13, ...
[ { "label": "sky", "category": 2, "points": [ [ 1, 1 ], [ 0, 94 ], [ 121, 134 ], [ 132, 135 ], [ 143, 129 ], [ 189, 120 ], [ ...
{ "bbox": [ [ 0, 0, 296, 190 ], [ 164, 186, 132, 61 ], [ 56, 1, 237, 22 ], [ 2, 151, 182, 96 ], [ 220, 144, 68, 70 ], [ 33, 100, 42, ...
[ { "label": "wall", "category": 0, "points": [ [ 296, 0 ], [ 244, 18 ], [ 57, 24 ], [ 55, 21 ], [ 55, 2 ], [ 0, 1 ], [ 1, ...
{ "bbox": [ [ 104, 285, 13, 18 ], [ 376, 263, 6, 21 ], [ 659, 167, 21, 111 ], [ 573, 125, 82, 159 ], [ 419, 100, 132, 182 ], [ 1, 39, 42...
[ { "label": "building", "category": 1, "points": [ [ 104, 285 ], [ 109, 294 ], [ 115, 298 ], [ 117, 303 ], [ 116, 297 ] ] }, { "label": "building", "...
{ "bbox": [ [ 64, 175, 30, 9 ], [ 0, 0, 299, 223 ], [ 3, 218, 24, 6 ], [ 108, 0, 191, 54 ], [ 23, 142, 276, 82 ], [ 258, 58, 21, 8...
[ { "label": "wall", "category": 0, "points": [ [ 94, 175 ], [ 88, 175 ], [ 64, 181 ], [ 64, 184 ] ] }, { "label": "wall", "category": 0, "points": [ [ 0, ...
{ "bbox": [ [ 27, 167, 16, 7 ], [ 211, 25, 92, 126 ], [ 0, 8, 209, 166 ], [ 0, 219, 29, 9 ], [ 0, 207, 37, 11 ], [ 0, 175, 60, 31 ...
[ { "label": "wall", "category": 0, "points": [ [ 27, 167 ], [ 27, 174 ], [ 42, 174 ], [ 43, 167 ] ] }, { "label": "wall", "category": 0, "points": [ [ 211, ...
{ "bbox": [ [ 0, 20, 303, 423 ], [ 0, 0, 304, 213 ], [ 66, 350, 238, 94 ] ], "categories": [ 1, 2, 4 ], "category_names": [ "building", "sky", "tree" ] }
[ { "label": "building", "category": 1, "points": [ [ 76, 20 ], [ 76, 26 ], [ 79, 29 ], [ 77, 31 ], [ 72, 31 ], [ 61, 37 ], [ ...
{ "bbox": [ [ 0, 0, 254, 190 ], [ 0, 162, 254, 92 ], [ 218, 155, 23, 13 ], [ 199, 155, 17, 5 ], [ 54, 40, 194, 198 ], [ 246, 50, 8, ...
[ { "label": "wall", "category": 0, "points": [ [ 0, 0 ], [ 0, 190 ], [ 1, 151 ], [ 3, 149 ], [ 10, 149 ], [ 9, 145 ], [ 5, ...
{ "bbox": [ [ 1, 1, 508, 294 ], [ 6, 405, 281, 3 ], [ 259, 362, 25, 38 ], [ 85, 269, 424, 138 ], [ 151, 249, 2, 21 ], [ 2, 229, 284, ...
[ { "label": "wall", "category": 0, "points": [ [ 1, 1 ], [ 1, 295 ], [ 2, 228 ], [ 83, 269 ], [ 87, 268 ], [ 22, 238 ], [ 1...
{ "bbox": [ [ 109, 148, 60, 77 ], [ 184, 139, 53, 114 ], [ 2, 1, 253, 224 ], [ 2, 88, 253, 167 ], [ 23, 8, 89, 216 ] ], "categories": [ 1, 1, ...
[ { "label": "building", "category": 1, "points": [ [ 111, 149 ], [ 109, 193 ], [ 124, 198 ], [ 118, 212 ], [ 112, 218 ], [ 112, 222 ], ...
{ "bbox": [ [ 385, 136, 13, 55 ], [ 0, 0, 397, 152 ], [ 255, 191, 143, 74 ], [ 229, 1, 150, 23 ], [ 125, 84, 54, 49 ], [ 87, 72, 34, ...
[ { "label": "wall", "category": 0, "points": [ [ 398, 136 ], [ 398, 159 ], [ 385, 166 ], [ 385, 190 ], [ 398, 191 ] ] }, { "label": "wall", "category...
{ "bbox": [ [ 340, 259, 22, 11 ], [ 275, 171, 53, 95 ], [ 1, 0, 509, 324 ], [ 0, 254, 440, 237 ], [ 364, 232, 14, 14 ], [ 88, 97, 304, ...
[ { "label": "sky", "category": 2, "points": [ [ 340, 259 ], [ 352, 270 ], [ 362, 259 ], [ 349, 263 ] ] }, { "label": "sky", "category": 2, "points": [ [ 281, ...
{ "bbox": [ [ 195, 0, 235, 66 ], [ 253, 31, 85, 34 ], [ 0, 0, 207, 181 ], [ 0, 167, 430, 100 ], [ 336, 181, 25, 13 ], [ 48, 18, 381, ...
[ { "label": "sky", "category": 2, "points": [ [ 195, 1 ], [ 195, 5 ], [ 206, 15 ], [ 204, 20 ], [ 209, 22 ], [ 219, 17 ], [ ...
{ "bbox": [ [ 140, 383, 13, 9 ], [ 473, 368, 29, 21 ], [ 425, 361, 7, 12 ], [ 624, 205, 57, 80 ], [ 614, 97, 67, 120 ], [ 0, 0, 613, ...
[ { "label": "building", "category": 1, "points": [ [ 153, 390 ], [ 148, 383 ], [ 140, 390 ], [ 140, 392 ], [ 153, 392 ] ] }, { "label": "building", "...
{ "bbox": [ [ 212, 97, 43, 43 ], [ 2, 1, 218, 68 ], [ 98, 43, 23, 11 ], [ 159, 0, 96, 79 ], [ 2, 44, 253, 211 ], [ 0, 44, 143, 109...
[ { "label": "wall", "category": 0, "points": [ [ 212, 97 ], [ 212, 123 ], [ 221, 132 ], [ 225, 133 ], [ 226, 135 ], [ 232, 138 ], [...
{ "bbox": [ [ 0, 0, 166, 125 ], [ 20, 184, 8, 3 ], [ 0, 0, 255, 216 ], [ 0, 179, 254, 76 ], [ 0, 177, 118, 8 ] ], "categories": [ 2, 4, 4, ...
[ { "label": "sky", "category": 2, "points": [ [ 35, 116 ], [ 44, 117 ], [ 50, 110 ], [ 57, 108 ], [ 62, 104 ], [ 68, 104 ], [ ...
{ "bbox": [ [ 143, 0, 52, 23 ], [ 0, 0, 199, 255 ], [ 137, 0, 118, 254 ], [ 95, 74, 49, 179 ], [ 97, 76, 70, 179 ] ], "categories": [ 2, 4, 16...
[ { "label": "sky", "category": 2, "points": [ [ 143, 0 ], [ 145, 4 ], [ 149, 4 ], [ 157, 9 ], [ 159, 17 ], [ 153, 19 ], [ 1...
{ "bbox": [ [ 0, 0, 449, 225 ], [ 0, 292, 448, 44 ], [ 409, 226, 40, 12 ], [ 0, 225, 449, 107 ], [ 9, 275, 191, 39 ], [ 137, 225, 312, ...
[ { "label": "sky", "category": 2, "points": [ [ 0, 0 ], [ 0, 224 ], [ 448, 225 ], [ 449, 0 ] ] }, { "label": "road", "category": 6, "points": [ [ 447, ...
{ "bbox": [ [ 2, 2, 253, 242 ], [ 2, 0, 253, 95 ], [ 86, 238, 169, 17 ], [ 0, 230, 194, 25 ], [ 5, 226, 57, 14 ], [ 89, 228, 24, 9...
[ { "label": "building", "category": 1, "points": [ [ 255, 56 ], [ 251, 65 ], [ 238, 71 ], [ 237, 66 ], [ 239, 62 ], [ 221, 53 ], [ ...
{ "bbox": [ [ 18, 157, 40, 44 ], [ 0, 0, 255, 204 ], [ 134, 204, 121, 50 ], [ 0, 194, 50, 61 ], [ 9, 0, 246, 22 ], [ 32, 127, 220, ...
[ { "label": "wall", "category": 0, "points": [ [ 55, 157 ], [ 24, 162 ], [ 29, 190 ], [ 18, 195 ], [ 18, 201 ], [ 29, 197 ], [ ...
{ "bbox": [ [ 84, 263, 7, 40 ], [ 576, 205, 5, 98 ], [ 595, 182, 11, 83 ], [ 611, 170, 17, 87 ], [ 635, 144, 31, 120 ], [ 675, 132, 7, ...
[ { "label": "building", "category": 1, "points": [ [ 90, 263 ], [ 87, 263 ], [ 84, 272 ], [ 84, 303 ], [ 86, 303 ], [ 90, 297 ], [ ...
{ "bbox": [ [ 0, 0, 716, 341 ], [ 383, 109, 332, 39 ], [ 107, 109, 250, 12 ], [ 508, 2, 196, 39 ], [ 109, 2, 172, 44 ], [ 537, 189, 117,...
[ { "label": "wall", "category": 0, "points": [ [ 0, 0 ], [ 0, 321 ], [ 25, 320 ], [ 23, 316 ], [ 22, 160 ], [ 72, 160 ], [ ...
{ "bbox": [ [ 2, 1, 445, 410 ], [ 3, 483, 27, 114 ], [ 0, 60, 446, 538 ] ], "categories": [ 2, 34, 34 ], "category_names": [ "sky", "rock", "rock" ] }
[ { "label": "sky", "category": 2, "points": [ [ 2, 1 ], [ 3, 347 ], [ 40, 274 ], [ 41, 250 ], [ 38, 241 ], [ 39, 234 ], [ 4...
{ "bbox": [ [ 11, 113, 27, 30 ], [ 0, 66, 43, 39 ], [ 35, 0, 251, 65 ], [ 0, 0, 78, 69 ], [ 127, 114, 96, 8 ], [ 0, 103, 28, 75 ...
[ { "label": "wall", "category": 0, "points": [ [ 16, 113 ], [ 17, 121 ], [ 11, 123 ], [ 11, 137 ], [ 24, 140 ], [ 25, 143 ], [ ...
End of preview. Expand in Data Studio

ADE-20K - annotated computer-vision dataset on Pictograph

Open in task images license

View on Pictograph · Pictograph Research · Custom License

About

ADE-20K is a computer-vision dataset from ADE20K, hosted on Pictograph. The most common detected objects are building, sidewalk, bed, house, road, tower. On Pictograph you can browse every annotated image, import it into your own workspace in one click, export it in a dozen formats, or train a model on it directly.

At a glance

Metric Value
Images 22,207
Annotations 396,285
Classes 150
Annotation types polygon
Splits train, validation

Quick start

Load it in one line with the datasets library, then read each record's boxes and class names:

from datasets import load_dataset
from PIL import ImageDraw

ds = load_dataset("pictograph/ade-20k", split="train")
example = ds[0]
image = example["image"]            # a PIL image
objects = example["objects"]        # {bbox, categories, category_names}

# draw every bounding box with its class name
draw = ImageDraw.Draw(image)
for (x, y, w, h), name in zip(objects["bbox"], objects["category_names"]):
    draw.rectangle([x, y, x + w, y + h], outline="red", width=3)
    draw.text((x, y - 12), name, fill="red")

# polygon masks live under example["segmentation"]:
#   [{"label": name, "category": idx, "points": [[x, y], ...]}, ...]
image.show()

Prefer a full annotation editor, one-click import, multi-format export, and one-click training? Open this dataset on Pictograph.

Dataset structure

This dataset uses the Hugging Face imagefolder layout: each split directory holds the images plus a metadata.jsonl that links every image to its annotations by file_name.

Field Description
file_name Path to the image within the split directory.
objects.bbox Bounding boxes as [x, y, width, height] (pixels).
objects.categories Integer class index per box (matches the class list below).
objects.category_names Human class name per box.
segmentation List of {label, category, points}; points is a polygon ring [[x, y], ...].

Data instance

One record (bounding boxes are [x, y, width, height] in pixels; the class index maps into the class list below):

{
  "image": <PIL.Image (RGB)>,
  "objects": {
    "bbox": [[172.0, 192.0, 249.4, 152.7]],
    "categories": [0],
    "category_names": ["wall"]
  },
  "segmentation": [
    {"label": "wall", "category": 0, "points": [[176.9, 207.2], [259.0, 274.1], ...]}
  ]
}

Classes

Class index matches objects.categories in metadata.jsonl.

All 150 classes, in index order: wall, building, sky, floor, tree, ceiling, road, bed, windowpane, grass, cabinet, sidewalk, person, earth, door, table, mountain, plant, curtain, chair, car, water, painting, sofa, shelf, house, sea, mirror, rug, field, armchair, seat, fence, desk, rock, wardrobe, lamp, bathtub, railing, cushion, base, box, column, signboard, chest_of_drawers, counter, sand, sink, skyscraper, fireplace, refrigerator, grandstand, path, stairs, runway, case, pool_table, pillow, screen_door, stairway, river, bridge, bookcase, blind, coffee_table, toilet, flower, book, hill, bench, countertop, stove, palm, kitchen_island, computer, swivel_chair, boat, bar, arcade_machine, hovel, bus, towel, light, truck, tower, chandelier, awning, streetlight, booth, television_receiver, airplane, dirt_track, apparel, pole, land, bannister, escalator, ottoman, bottle, buffet, poster, stage, van, ship, fountain, conveyer_belt, canopy, washer, plaything, swimming_pool, stool, barrel, basket, waterfall, tent, bag, minibike, cradle, oven, ball, food, step, tank, trade_name, microwave, pot, animal, bicycle, lake, dishwasher, screen, blanket, sculpture, hood, sconce, vase, traffic_light, tray, ashcan, fan, pier, crt_screen, plate, monitor, bulletin_board, shower, radiator, glass, clock, flag.

License

ADE20K uses a dual license. Images: non-commercial research and educational use only (bespoke MIT CSAIL agreement; access via request form; MIT does not hold image copyright; commercial use requires permission from MIT CSAIL). Annotations, software, and website: BSD-3-Clause, Copyright 2019 MIT, CSAIL.

Source and attribution

The images and annotations come from ADE20K, created by MIT CSAIL - Zhou, Zhao, Puig, Fidler, Barriuso, Torralba and released under BSD 3-Clause License. We are grateful to the original authors. If you use this data, please cite the original source above.


Published from Pictograph - annotate, train, and deploy from one API.

Downloads last month
17,675

Models trained or fine-tuned on pictograph/ade-20k