Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
id
int64
0
23k
image
imagewidth (px)
130
2.2k
segmentation
imagewidth (px)
130
2.2k
instance
imagewidth (px)
130
2.2k
filename
stringlengths
22
22
scene
listlengths
3
5
object_names
listlengths
2
289
objects_present
listlengths
1
69
num_objects
int32
2
289
image_emb
list
0
ADE_train_00001472.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "wall", "windowpane, window", "podium", "altar, communion table, Lord's table", "windowpane, window", "windowpane, window", "windowpane, window", "windowpane, window" ]
[ "altar, communion table, Lord's table", "podium", "wall", "windowpane, window" ]
8
[ -0.005748748779296875, 0.1473388671875, -0.0209503173828125, -0.01007843017578125, 0.03973388671875, -0.0570068359375, -0.02386474609375, -0.0024394989013671875, 0.0227508544921875, 0.07037353515625, -0.0084991455078125, -0.0179290771484375, -0.040191650390625, -0.0499267578125, -0.00182...
1
ADE_train_00001473.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "ceiling", "vault", "wall", "wall", "wall", "column, pillar", "column, pillar", "wall", "floor, flooring", "bench", "seat", "windowpane, window", "windowpane, window", "windowpane, window", "windowpane, window", "windowpane, window", "capital", "shaft", "base" ]
[ "base", "bench", "capital", "ceiling", "column, pillar", "floor, flooring", "seat", "shaft", "vault", "wall", "windowpane, window" ]
19
[ 0.04876708984375, 0.162109375, -0.142578125, -0.00043487548828125, -0.0310211181640625, -0.016632080078125, -0.00785064697265625, 0.031402587890625, 0.025146484375, 0.0041656494140625, 0.006259918212890625, 0.01554107666015625, -0.014678955078125, -0.10980224609375, 0.00821685791015625, ...
2
ADE_train_00001474.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "vault", "windowpane, window", "windowpane, window", "wall", "wall", "wall", "wall", "wall", "wall", "cross" ]
[ "cross", "vault", "wall", "windowpane, window" ]
10
[ 0.05218505859375, 0.1923828125, -0.1212158203125, 0.00167083740234375, -0.00392913818359375, -0.0261993408203125, -0.018096923828125, 0.085205078125, 0.007312774658203125, 0.0809326171875, 0.034393310546875, -0.015899658203125, -0.00513458251953125, -0.037384033203125, 0.0253143310546875...
3
ADE_train_00001475.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "vault", "wall", "windowpane, window", "windowpane, window", "windowpane, window", "windowpane, window", "windowpane, window", "stairway, staircase", "altar, communion table, Lord's table" ]
[ "altar, communion table, Lord's table", "stairway, staircase", "vault", "wall", "windowpane, window" ]
9
[ 0.031005859375, 0.0218353271484375, -0.057342529296875, 0.023712158203125, 0.0016183853149414062, -0.036865234375, 0.01337432861328125, 0.072998046875, 0.0277099609375, 0.05279541015625, 0.01287841796875, 0.035736083984375, -0.03350830078125, -0.12109375, -0.0098114013671875, 0.0146102...
4
ADE_train_00001476.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "vault", "wall", "altar, communion table, Lord's table", "wall", "wall", "stairway, staircase", "windowpane, window", "windowpane, window", "windowpane, window", "windowpane, window", "windowpane, window", "windowpane, window", "windowpane, window" ]
[ "altar, communion table, Lord's table", "stairway, staircase", "vault", "wall", "windowpane, window" ]
13
[ 0.02545166015625, 0.1771240234375, -0.1446533203125, 0.00913238525390625, 0.00849151611328125, -0.00809478759765625, -0.0216217041015625, 0.0531005859375, 0.020660400390625, 0.0697021484375, 0.0286102294921875, 0.0188751220703125, 0.004924774169921875, -0.1026611328125, -0.01629638671875...
5
ADE_train_00001477.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "vault", "wall", "altar, communion table, Lord's table", "railing, rail", "railing, rail", "windowpane, window", "windowpane, window", "windowpane, window", "floor, flooring", "stairs, steps", "wall", "bench", "bench", "railing, rail", "railing, rail", "bench", "lamp", "lamp" ]
[ "altar, communion table, Lord's table", "bench", "floor, flooring", "lamp", "railing, rail", "stairs, steps", "vault", "wall", "windowpane, window" ]
18
[ 0.043426513671875, 0.1959228515625, 0.0023365020751953125, -0.0341796875, -0.000640869140625, -0.07769775390625, 0.0052032470703125, 0.0280609130859375, 0.01312255859375, 0.0052490234375, 0.050201416015625, 0.01275634765625, -0.003448486328125, -0.018890380859375, 0.032623291015625, 0....
6
ADE_train_00001478.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "vault", "wall", "wall", "wall", "wall", "wall", "windowpane, window", "windowpane, window", "windowpane, window", "wall" ]
[ "vault", "wall", "windowpane, window" ]
10
[ 0.031890869140625, 0.160400390625, -0.06402587890625, 0.040130615234375, 0.01153564453125, 0.01023101806640625, -0.0020198822021484375, 0.0474853515625, 0.032196044921875, 0.04168701171875, 0.006717681884765625, 0.0078582763671875, 0.0001977682113647461, -0.07208251953125, -0.02421569824...
7
ADE_train_00001479.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "wall", "ceiling", "wall", "wall", "mezzanine, first balcony", "door", "mezzanine, first balcony", "wall" ]
[ "ceiling", "door", "mezzanine, first balcony", "wall" ]
8
[ 0.041259765625, 0.1661376953125, -0.158935546875, 0.043975830078125, -0.029205322265625, -0.01218414306640625, -0.032318115234375, 0.017364501953125, 0.0252227783203125, 0.0858154296875, -0.00579071044921875, 0.01276397705078125, 0.00010055303573608398, -0.07147216796875, -0.002292633056...
8
ADE_train_00001480.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "vault", "wall", "wall", "wall", "windowpane, window", "windowpane, window", "windowpane, window", "cross", "plant, flora, plant life", "wall" ]
[ "cross", "plant, flora, plant life", "vault", "wall", "windowpane, window" ]
10
[ 0.01885986328125, 0.181396484375, -0.06304931640625, -0.023193359375, 0.00885772705078125, -0.047821044921875, 0.01265716552734375, 0.058197021484375, 0.032012939453125, -0.00472259521484375, 0.050628662109375, -0.016265869140625, -0.038421630859375, -0.06640625, -0.015106201171875, 0....
9
ADE_train_00001481.jpg
[ "indoor", "cultural", "apse indoor" ]
[ "vault", "wall", "altar, communion table, Lord's table", "column, pillar", "candle, taper, wax light", "column, pillar", "candle, taper, wax light", "wall", "wall", "wall", "sculpture", "pulpit", "bench", "bench", "floor, flooring", "column, pillar", "column, pillar", "candelabrum,...
[ "altar, communion table, Lord's table", "bench", "candelabrum, candelabra", "candle, taper, wax light", "column, pillar", "floor, flooring", "pulpit", "sculpture", "vault", "wall" ]
19
[ 0.038177490234375, 0.2137451171875, -0.181396484375, 0.034698486328125, 0.009246826171875, -0.0248870849609375, -0.00449371337890625, 0.04486083984375, 0.03387451171875, 0.0199432373046875, 0.0291748046875, 0.0274658203125, 0.00083160400390625, -0.0633544921875, 0.006084442138671875, 0...
10
ADE_frame_00000007.jpg
[ "indoor", "cultural", "aquarium" ]
[ "aquarium, fish tank, marine museum", "plant, flora, plant life", "floor, flooring", "person, individual, someone, somebody, mortal, soul", "head", "eye", "eye", "mouth", "right arm", "right hand", "left arm", "left hand", "right leg", "right foot", "left leg", "left foot", "signboar...
[ "aquarium, fish tank, marine museum", "back", "eye", "floor, flooring", "hair", "head", "left arm", "left foot", "left hand", "left leg", "mouth", "person, individual, someone, somebody, mortal, soul", "plant, flora, plant life", "right arm", "right foot", "right hand", "right leg", ...
26
[ 0.07940673828125, 0.1783447265625, -0.01300048828125, -0.0184478759765625, -0.006786346435546875, -0.01873779296875, 0.035614013671875, 0.0301513671875, 0.00888824462890625, -0.09423828125, 0.0036983489990234375, -0.039306640625, -0.0377197265625, 0.00766754150390625, 0.00262832641601562...
11
ADE_train_00001488.jpg
[ "indoor", "cultural", "aquarium" ]
[ "ceiling", "wall", "aquarium, fish tank, marine museum", "fence, fencing", "person, individual, someone, somebody, mortal, soul", "person, individual, someone, somebody, mortal, soul", "person, individual, someone, somebody, mortal, soul", "person, individual, someone, somebody, mortal, soul", "pers...
[ "aquarium, fish tank, marine museum", "ceiling", "fence, fencing", "fish", "person, individual, someone, somebody, mortal, soul", "plant, flora, plant life", "rock, stone", "text, textual matter", "wall" ]
23
[ 0.043609619140625, -0.0308837890625, -0.11798095703125, -0.045318603515625, 0.01114654541015625, -0.024566650390625, -0.04425048828125, -0.056121826171875, 0.039825439453125, -0.1458740234375, 0.037353515625, -0.057220458984375, 0.00989532470703125, -0.0137176513671875, 0.05035400390625,...
12
ADE_train_00001489.jpg
[ "indoor", "cultural", "aquarium" ]
[ "aquarium, fish tank, marine museum", "person, individual, someone, somebody, mortal, soul", "floor, flooring", "fish", "fish", "fish", "fish" ]
[ "aquarium, fish tank, marine museum", "fish", "floor, flooring", "person, individual, someone, somebody, mortal, soul" ]
7
[ 0.0189208984375, 0.0338134765625, -0.1591796875, 0.042236328125, 0.0107269287109375, -0.0280914306640625, -0.053070068359375, 0.0185394287109375, -0.0152130126953125, -0.08056640625, 0.0195159912109375, -0.01806640625, 0.0282440185546875, 0.0199737548828125, -0.07781982421875, 0.054046...
13
ADE_train_00001490.jpg
[ "indoor", "cultural", "aquarium" ]
[ "aquarium, fish tank, marine museum", "wall", "wall", "gate", "person, individual, someone, somebody, mortal, soul", "person, individual, someone, somebody, mortal, soul", "floor, flooring", "person, individual, someone, somebody, mortal, soul", "person, individual, someone, somebody, mortal, soul",...
[ "aquarium, fish tank, marine museum", "fish", "floor, flooring", "gate", "person, individual, someone, somebody, mortal, soul", "wall" ]
12
[ 0.03228759765625, 0.0908203125, -0.1966552734375, 0.0419921875, 0.004199981689453125, -0.048583984375, -0.0428466796875, 0.0396728515625, -0.00914764404296875, -0.1209716796875, -0.00850677490234375, 0.000004291534423828125, 0.0031147003173828125, -0.061737060546875, -0.03948974609375, ...
14
ADE_train_00001491.jpg
[ "indoor", "cultural", "aquarium" ]
[ "aquarium, fish tank, marine museum", "ceiling", "wall", "column, pillar", "column, pillar", "gate", "person, individual, someone, somebody, mortal, soul", "person, individual, someone, somebody, mortal, soul", "console", "person, individual, someone, somebody, mortal, soul", "person, individual...
[ "aquarium, fish tank, marine museum", "ceiling", "column, pillar", "console", "eye", "gate", "gaze", "head", "left arm", "left hand", "mouth", "neck", "person, individual, someone, somebody, mortal, soul", "right arm", "right hand", "wall" ]
31
[ -0.0228118896484375, 0.0040740966796875, -0.04168701171875, -0.00034308433532714844, 0.00977325439453125, 0.00433349609375, -0.01032257080078125, -0.029052734375, 0.0136260986328125, -0.050994873046875, -0.0247650146484375, -0.0439453125, -0.017822265625, 0.041656494140625, -0.0349426269...
15
ADE_train_00001492.jpg
[ "indoor", "cultural", "aquarium" ]
[ "aquarium, fish tank, marine museum", "wall", "wall", "floor, flooring", "fish", "fish", "fish", "fish", "fish", "fish" ]
[ "aquarium, fish tank, marine museum", "fish", "floor, flooring", "wall" ]
10
[ 0.010986328125, 0.064208984375, -0.160400390625, 0.057647705078125, 0.0060272216796875, -0.0255584716796875, -0.041656494140625, 0.00965118408203125, -0.00002658367156982422, -0.1356201171875, 0.033233642578125, 0.025299072265625, 0.035858154296875, -0.0484619140625, 0.01983642578125, ...
16
ADE_train_00001493.jpg
[ "indoor", "cultural", "aquarium" ]
[ "rock, stone", "aquarium, fish tank, marine museum", "fish", "wall", "person, individual, someone, somebody, mortal, soul" ]
[ "aquarium, fish tank, marine museum", "fish", "person, individual, someone, somebody, mortal, soul", "rock, stone", "wall" ]
5
[ 0.0034275054931640625, 0.0718994140625, -0.11419677734375, 0.033355712890625, -0.0203399658203125, 0.022857666015625, 0.022491455078125, 0.0174407958984375, -0.02386474609375, -0.0239715576171875, 0.00226593017578125, -0.031463623046875, -0.0183868408203125, -0.03839111328125, -0.0908203...
17
ADE_train_00001494.jpg
[ "indoor", "cultural", "aquarium" ]
[ "aquarium, fish tank, marine museum", "shark", "fish", "fish", "fish", "fish", "fish", "fish", "person, individual, someone, somebody, mortal, soul", "person, individual, someone, somebody, mortal, soul", "person, individual, someone, somebody, mortal, soul", "person, individual, someone, some...
[ "aquarium, fish tank, marine museum", "fish", "person, individual, someone, somebody, mortal, soul", "shark" ]
21
[ 0.0259246826171875, 0.116455078125, -0.189453125, -0.017333984375, 0.00250244140625, -0.03564453125, -0.04644775390625, 0.025421142578125, 0.00910186767578125, -0.07733154296875, 0.0194549560546875, 0.002971649169921875, 0.021728515625, -0.03125, -0.0204010009765625, 0.0516357421875, ...
End of preview. Expand in Data Studio

ADE20K (Lance Format)

Lance-formatted version of the full ADE20K scene parsing benchmark (sourced from 1aurent/ADE20K) — 27,574 scene images with semantic and instance segmentation maps, scene labels, and per-object metadata, all stored inline.

Splits

Split Rows
train.lance 25,574
validation.lance 2,000

Schema

Column Type Notes
id int64 Row index within split
image large_binary Inline JPEG bytes
segmentation large_binary Inline PNG bytes — semantic segmentation map (RGB encoding per ADE20K spec)
instance large_binary? Inline PNG bytes — instance map; null if not provided
filename string ADE20K relative filename
scene list<string> Scene labels (e.g. ["bathroom"])
object_names list<string> Names of all annotated objects (one entry per polygon)
objects_present list<string> Deduped object names — feeds the LABEL_LIST index
num_objects int32 Number of annotated objects
image_emb fixed_size_list<float32, 512> OpenCLIP ViT-B-32 image embedding (cosine-normalized)

Pre-built indices

  • IVF_PQ on image_embmetric=cosine
  • BTREE on num_objects
  • LABEL_LIST on objects_present — supports array_has_any / array_has_all

Quick start

import lance

ds = lance.dataset("hf://datasets/lance-format/ade20k-lance/data/validation.lance")
print(ds.count_rows(), ds.schema.names, ds.list_indices())

Read an image with its segmentation

import io
import lance
from PIL import Image

ds = lance.dataset("hf://datasets/lance-format/ade20k-lance/data/validation.lance")
row = ds.take([0], columns=["image", "segmentation", "scene", "objects_present"]).to_pylist()[0]

Image.open(io.BytesIO(row["image"])).save("img.jpg")
Image.open(io.BytesIO(row["segmentation"])).save("seg.png")
print("scene:", row["scene"])
print("objects:", row["objects_present"][:10])

Filter by scene / objects

import lance
ds = lance.dataset("hf://datasets/lance-format/ade20k-lance/data/validation.lance")

# Indoor scenes containing both a bed and a window.
rows = ds.scanner(
    filter="array_has_all(objects_present, ['bed', 'window'])",
    columns=["filename", "scene"],
    limit=10,
).to_table().to_pylist()

Visual similarity search

import lance
import pyarrow as pa

ds = lance.dataset("hf://datasets/lance-format/ade20k-lance/data/validation.lance")
emb_field = ds.schema.field("image_emb")
ref = ds.take([0], columns=["image_emb"]).to_pylist()[0]["image_emb"]
query = pa.array([ref], type=emb_field.type)

neighbors = ds.scanner(
    nearest={"column": "image_emb", "q": query[0], "k": 5},
    columns=["filename", "scene"],
).to_table().to_pylist()

Why Lance?

  • One dataset for images + segmentation + instance + scene + objects + embeddings + indices — no folder of paired files.
  • On-disk vector and label-list indices live next to the data, so search works on local copies and on the Hub.
  • Schema evolution: add columns (panoptic ids, fresh embeddings, model predictions) without rewriting the data.

Source & license

Converted from 1aurent/ADE20K. ADE20K is released under the BSD 3-Clause license by the MIT CSAIL Computer Vision group.

Citation

@inproceedings{zhou2017scene,
  title={Scene Parsing through ADE20K Dataset},
  author={Zhou, Bolei and Zhao, Hang and Puig, Xavier and Fidler, Sanja and Barriuso, Adela and Torralba, Antonio},
  booktitle={Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
  year={2017}
}
Downloads last month
55