AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Vision

    ADE20K (2017)

    27,000 scenes where every object, and often its parts, is outlined and named.

    Why it matters

    Classification says what is in a photo and detection draws boxes; segmentation labels every pixel. ADE20K's 150-class "SceneParsing" benchmark, covering walls, floors, sky and roads as well as things, became the standard test for segmentation models, scored by mean intersection over union (mIoU): PSPNet, SegFormer and Mask2Former all report it, and it is now a common test of general vision backbones.

    Get the data

    # pip install -U huggingface_hub
    hf download 1aurent/ADE20K --repo-type dataset \
      --local-dir ade20k

    A community Parquet copy of the full 2021 release, with mask images and polygons. The 150-class benchmark version (SceneParsing) is on the MIT site.

    Year
    2017
    Creators
    Bolei Zhou, Hang Zhao, Xavier Puig, Sanja Fidler, Adela Barriuso, Antonio Torralba (MIT, U. Toronto)
    Task
    Semantic segmentation and scene parsing
    Size
    27,574 images, 3,688 object classes (full 2021 release)
    Splits
    train 25,574 · validation 2,000
    Input
    RGB photo of an indoor or outdoor scene
    Labels
    A polygon and a name for every object, plus parts and a scene category
    License
    Research and educational use (images from SUN and Places)
    Paper
    Scene Parsing through ADE20K Dataset

    Samples

    Showing 4 of 12 sampled rows(from 2,000 in the validation split)
    indoor › home or hotel › bedroomwallwallwallwallcabinetmirrorbedbedbedbagwindowpanecurtaincurtainwindowpanemirrorfanfloor

    indoor › home or hotel › bedroom

    wall ×4bed ×3mirror ×2windowpane ×2curtain ×2cabinetbagfanfloor

    outdoor › urban › building facadeskybuildingawningawningtrade namepersoncarpersonstreetlightstreetlightstreetlightstreetlightwirewirewirewiretrade name

    outdoor › urban › building facade

    streetlight ×4wire ×4awning ×2trade name ×2person ×2skybuildingcar

    outdoor › urban › yardskyplantplantplantplantgrass

    outdoor › urban › yard

    plant ×4skygrass

    ceilingwallwallfloortablechairchairchairchairwindowpanewindowpanechairchairchairchairchairchairchairchairfluorescentfluorescentfluorescentfluorescentfluorescentfluorescentfluorescentfluorescentspotlightspotlightfluorescentspotlightspotlightspotlightspotlightspotlightfluorescentfluorescentfluorescent

    chair ×12fluorescent ×12spotlight ×7wall ×2windowpane ×2ceilingfloortable

    What one record actually looks like (raw JSON, row 217)
    {
      "filename": "ADE_val_00000153.jpg",
      "folder": "ADE20K_2021_17_01/images/ADE/validation/home_or_hotel/bedroom",
      "image": {
        "height": 613,
        "src": "samples/ade20k/217-image.jpg",
        "width": 1350
      },
      "objects": [
        {
          "attributes": "",
          "crop": false,
          "depth_ordering_rank": 1,
          "hypernym": [
            "wall",
            "partition, divider",
            "structure, construction",
            "artifact, artefact",
            "whole, unit",
            "object, physical object",
            "physical entity",
            "entity"
          ],
          "id": 0,
          "name": "wall",
          "name_ndx": 2978,
          "occluded": false,
          "parts": {
            "has_parts": [],
            "is_part_of": null,
            "part_level": 0
          },
          "polygon": {
            "click_date": [],
            "x": [
              336,
              335,
              327,
              322,
              321,
              178,
              186,
              173,
              174,
              167,
              155,
              140,
              138,
              133,
              124,
              119,
              103,
              97,
              81,
              74,
              64,
              60,
              55,
              51,
              51,
              0,
              0,
              33,
              56,
              69,
              82,
              98,
              105,
              122,
              149,
              157,
              169,
              182,
              191,
              197,
              201,
              209,
              216,
              221,
              226,
              238,
              275
            ],
            "y": [
              256,
              222,
              221,
              214,
              207,
              244,
              268,
              270,
              284,
              290,
              294,
              293,
              291,
              279,
              279,
              280,
              282,
              280,
              258,
              242,
              238,
              234,
              135,
              60,
              1,
              2,
              245,
              238,
              236,
              239,
              261,
              287,
              319,
              316,
              327,
              327,
              335,
              339,
              347,
              374,
              375,
              358,
              329,
              314,
              301,
              295,
              280
            ]
          },
          "raw_name": "wall",
          "saved_date": "2013-02-18T17:24:09"
        },
        {
          "attributes": "",
          "crop": false,
          "depth_ordering_rank": 2,
          "hypernym": [
            "wall",
            "partition, divider",
            "structure, construction",
            "artifact, artefact",
            "whole, unit",
            "object, physical object",
            "physical entity",
            "entity"
          ],
          "id": 1,
          "name": "wall",
          "name_ndx": 2978,
          "occluded": false,
          "parts": {
            "has_parts": [],
            "is_part_of": null,
            "part_level": 0
          },
          "polygon": {
            "click_date": [],
            "x": [
              377,
              364,
              359,
              338,
              337,
              345,
              352,
              365,
              370,
              375,
              381,
              387,
              388,
              657,
              661,
              788,
              786,
              774,
              758,
              753,
              750,
              732,
              712,
              636,
              473,
              407
            ],
            "y": [
              256,
              250,
              250,
              255,
              222,
              222,
              222,
              225,
              227,
              227,
              230,
              225,
              208,
              228,
              1,
              0,
              403,
              366,
              329,
              314,
              306,
              299,
              297,
              290,
              273,
              260
            ]
          },
          "raw_name": "wall",
          "saved_date": "2013-02-18T17:25:48"
        },
        {
          "attributes": "",
          "crop": false,
          "depth_ordering_rank": 3,
          "hypernym": [
            "wall",
            "partition, divider",
            "structure, construction",
            "artifact, artefact",
            "whole, unit",
            "object, physical object",
            "physical entity",
            "entity"
          ],
          "id": 2,
          "name": "wall",
          "name_ndx": 2978,
          "occluded": false,
          "parts": {
            "has_parts": [],
            "is_part_of": null,
            "part_level": 0
          },
          "polygon": {
            "click_date": [],
            "x": [
              1164,
              1164,
              787,
              791,
              867,
              893,
              905,
              909,
              904,
              914,
              918,
              1143,
              1144,
              1152,
              1152
            ],
            "y": [
              290,
              1,
              2,
              425,
              421,
              360,
              326,
              312,
              237,
              238,
              247,
              250,
              240,
              241,
              288
            ]
          },
          "raw_name": "wall",
          "saved_date": "2013-02-18T17:26:26"
        },
        {
          "attributes": "",
          "crop": false,
          "depth_ordering_rank": 4,
          "hypernym": [
            "wall",
            "partition, divider",
            "structure, construction",
            "artifact, artefact",
            "whole, unit",
            "object, physical object",
            "physical entity",
            "entity"
          ],
          "id": 3,
          "name": "wall",
          "name_ndx": 2978,
          "occluded": false,
          "parts": {
            "has_parts": [],
            "is_part_of": null,
            "part_level": 0
          },
          "polygon": {
            "click_date": [],
            "x": [
              1349,
              1165,
              1165,
              1198,
              1251,
              1256,
              1262,
              1273,
              1280,
              1280,
              1281,
              1286,
              1300,
              1337,
              1348
            ],
            "y": [
              1,
              1,
              293,
              391,
              390,
              348,
              348,
              115,
              115,
              76,
              68,
              54,
              41,
              28,
              27
            ]
          },
          
    … (truncated)

    Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.

    Sampled 2026-11-07 from 1aurent/ADE20K at revision bbf21e2

    Worth knowing

    Related datasets

    Landmark papers