Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
pandas
Dataset Viewer
Auto-converted to Parquet Duplicate
split
stringclasses
1 value
image_id
stringlengths
12
25
file_name
stringlengths
16
29
image_info
dict
caption_info
dict
mask_annotations
listlengths
2
52
categories
listlengths
1
1
train
ADE_train_00000006
ADE_train_00000006.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000006.jpg", "height": 973, "id": "ADE_train_00000006", "width": 512 }
{ "caption": "The image shows a small, brightly lit bathroom dominated by a white tiled wall which serves as the backdrop for the bathroom. The bathroom features a white bathtub with chrome faucets set against the wall, above which a separate electric shower unit is mounted. Beside the tub is a white pedestal sink wi...
[ { "area": 214858, "bbox": [ 0, 0, 511, 760 ], "category_id": 100, "id": 0, "image_id": "ADE_train_00000006", "iscrowd": 0, "segmentation": { "counts": "d1`1Zk0P2C=C<D=C=C6J=C<D=C=C<D=C6J=C<D=C=C<D7I<D=C=C<D>B5K=C=C<D=C=C<D7I<D=C<D>B<D7I<D<D>B4LO100O100O1...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000007
ADE_train_00000007.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000007.jpg", "height": 735, "id": "ADE_train_00000007", "width": 512 }
{ "caption": "This is an eye-level view of a bathroom, where a dark wood vanity with a woven front stands on a light-colored tiled floor. The vanity features a black granite countertop into which a white undermount sink with a silver faucet is set, with a yellow cylindrical candle resting beside it. Above the vanity,...
[ { "area": 117747, "bbox": [ 1, 0, 510, 597 ], "category_id": 100, "id": 7, "image_id": "ADE_train_00000007", "iscrowd": 0, "segmentation": { "counts": "of027\\2Qd0dMQ\\OZ2oc0fMS\\OY2lc0gMX\\OU2hc0kMZ\\OS2fc0mM]\\OQ2bc0oM_\\OQ2`c0oMa\\OP2_c0PNc\\On1]c0SNc...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000008
ADE_train_00000008.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000008.jpg", "height": 512, "id": "ADE_train_00000008", "width": 538 }
{ "caption": "A modern, curved glass shower enclosure with a off-white, decorative base is neatly tucked into the corner of a room with dark gray walls and a matching dark gray floor. To the right, a brightly lit adjacent room is visible, featuring a large window that illuminates the space. In this second room, a low...
[ { "area": 91474, "bbox": [ 1, 0, 537, 446 ], "category_id": 100, "id": 21, "image_id": "ADE_train_00000008", "iscrowd": 0, "segmentation": { "counts": "Q`0g6Y9V7jH00O10000O1000O10O10000O10000O10000O1000000O10000O10000O10000O10000O1000000O100O10000O10000O...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000009
ADE_train_00000009.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000009.jpg", "height": 512, "id": "ADE_train_00000009", "width": 683 }
{ "caption": "This is a partial view of a bathroom, showcasing a white bathtub set against a wall covered in large, cream tiles. A clear glass shower screen with a chrome pole is mounted on the wall. To the left of the bathtub, there is a white toilet. Above the toilet, a square painting of vibrant pink orchids adds ...
[ { "area": 183145, "bbox": [ 0, 0, 682, 512 ], "category_id": 100, "id": 27, "image_id": "ADE_train_00000009", "iscrowd": 0, "segmentation": { "counts": "0o?1000000000000000000000000000000000000000000000000000000000002N6T@Ka??`@@V?h0k@XOl>Q1WAmN_>]1bAcNS>...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000010
ADE_train_00000010.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000010.jpg", "height": 764, "id": "ADE_train_00000010", "width": 512 }
{ "caption": "This image captures a long, narrow washroom area with a designed arched ceiling and walls covered in white and gray mosaic tiles. A small, flush-mount light fixture is centered in the vaulted ceiling. The focal point is a vanity at the far end, which has a white marble countertop with an undermount sink...
[ { "area": 257096, "bbox": [ 0, 0, 511, 763 ], "category_id": 100, "id": 33, "image_id": "ADE_train_00000010", "iscrowd": 0, "segmentation": { "counts": "1l;P<n;QD1000000000000000000000000000000000000000000000000000000002N1O1O1O1O1O2i_Oi0e7XOPHo1S7QNbHX3`...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000011
ADE_train_00000011.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000011.jpg", "height": 247, "id": "ADE_train_00000011", "width": 356 }
{ "caption": "The image, despite a luxurious bathroom depicted with warm, ambient lighting, features a vanity in the foreground with a granite countertop. An oval white undermount sink is set into the counter, accompanied by a sliver faucet. On the counter are several items, including three green and bottles. To the ...
[ { "area": 15142, "bbox": [ 0, 0, 353, 247 ], "category_id": 100, "id": 45, "image_id": "ADE_train_00000011", "iscrowd": 0, "segmentation": { "counts": "0W3e0`MGb0S1n1JlL^Ok0h0Y2LjL]Ol0g0Z2LjL]Ol0g0Z2LjL]Ok0h0[2KjL\\Ol0i0Z2c0fM]OZ2c0fM]OZ2c0eM^O[2a0fM_OZ2...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000012
ADE_train_00000012.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000012.jpg", "height": 683, "id": "ADE_train_00000012", "width": 512 }
{ "caption": "This is a view into a small bathroom from the doorway, with the floor laid with large, dark gray square tiles and contrasting white grout. To the left, a wooden vanity cabinet with a light-colored countertop is partially visible, with a small wicker basket on top. Next to the vanity is a white toilet. T...
[ { "area": 18822, "bbox": [ 0, 0, 512, 682 ], "category_id": 100, "id": 57, "image_id": "ADE_train_00000012", "iscrowd": 0, "segmentation": { "counts": "_=j7d=M4L4L4L3M5K3M4L4L4L3M4L4L4L4M3L4L4L3M5K3M4L4L4L4L4L3M5K3M5K3M4L4L4L4L4L3M5K3M5K3M4L4L4L4L4L4L4L3...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000016
ADE_train_00000016.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000016.jpg", "height": 512, "id": "ADE_train_00000016", "width": 683 }
{ "caption": "This image shows a bathroom with color scheme and tilework. The wall is covered in white tiles with a green, wavy pattern, which also extends to the side of the green bathtub on the right. A shower fixture is installed above the tub, and a light-colored shower curtain hangs from a rod. Centrally located...
[ { "area": 199325, "bbox": [ 26, 0, 631, 448 ], "category_id": 100, "id": 66, "image_id": "ADE_train_00000016", "iscrowd": 0, "segmentation": { "counts": "RP==k?e0F:O<ZO8I81<oJ]MgJk2_4UMTLS3Q3mLQMY4g1gKYNT5l0lJUOm51SJ0X6DhI<X6DhI=V6DjI=S6EmI;S6EmI;R6FnI:P...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000018
ADE_train_00000018.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000018.jpg", "height": 512, "id": "ADE_train_00000018", "width": 770 }
{ "caption": "This image offers a view into a standard bathroom, seen from the entryway. On the left, against an off-white wall, is a light wood vanity cabinet with a white sink. Positioned between the vanity and the bathtub is a white toilet. Above the toilet, a small, framed picture with blue accents hangs on the w...
[ { "area": 151169, "bbox": [ 0, 0, 679, 511 ], "category_id": 100, "id": 78, "image_id": "ADE_train_00000018", "iscrowd": 0, "segmentation": { "counts": "0X?h0g0YO00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000021
ADE_train_00000021.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000021.jpg", "height": 311, "id": "ADE_train_00000021", "width": 233 }
{ "caption": "This image provides a glimpse into a bathroom through an open doorway, revealing a dark wood floor and a mix of textures and styles. The focal point is a bathtub and shower combination tucked into an alcove lined with light pink square tiles. The shower features distinctive, exposed brass plumbing. To t...
[ { "area": 31170, "bbox": [ 66, 0, 167, 311 ], "category_id": 100, "id": 89, "image_id": "ADE_train_00000021", "iscrowd": 0, "segmentation": { "counts": "RRd0j1m7P2PNP2PN7H1000000O10000O1000000O101O000OJcLTJ]3k5dLUJ\\3j5fLUJZ3a5eL]J25X3_5mLbJS3^5mLbJS3c5h...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000022
ADE_train_00000022.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000022.jpg", "height": 303, "id": "ADE_train_00000022", "width": 200 }
{ "caption": "This rustic bathroom is full of warm, earthy tones, from the brown slate tiles that cover the floor and walk-in shower to the textured countertop. A long sage green vanity provides a lovely pop of color, featuring a white sink and a neatly folded brown towel. Above the sink, a simple mirror hangs on the...
[ { "area": 24523, "bbox": [ 0, 0, 200, 301 ], "category_id": 100, "id": 98, "image_id": "ADE_train_00000022", "iscrowd": 0, "segmentation": { "counts": "Z1<=Y4d3RLQL\\6a1P1I00O100O10000O1O1O2N1O1O1oJ\\NV2e1jMIf09W41\\NDTJ=l5c1O10000O10000O2O0O100O100O100O...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000023
ADE_train_00000023.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000023.jpg", "height": 708, "id": "ADE_train_00000023", "width": 512 }
{ "caption": "This stunning bathroom is pure elegance, with its high, arched ceiling and warm, earth-toned walls. In the foreground, a classic white vanity with a granite countertop and sink provides plenty of storage. A large mirror hangs above it, reflecting the beautiful space and the row of two elegant pendant li...
[ { "area": 138912, "bbox": [ 1, 1, 510, 690 ], "category_id": 100, "id": 111, "image_id": "ADE_train_00000023", "iscrowd": 0, "segmentation": { "counts": "Uf0be0b0N200O100O1O1O100O1O100N200O1]I\\OfGd0Z8HXG:h82lFNS9i0VFXOj9_1_EaNa:j1SEWNl:`2]DaMb;W3fCjLWO^...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000024
ADE_train_00000024.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000024.jpg", "height": 753, "id": "ADE_train_00000024", "width": 512 }
{ "caption": "This cozy and elegant bathroom is wrapped in the warmth of wood, with light wood-paneled walls and a matching wood-paneled ceiling. A stylish dark wood vanity with a ribbed, round base sits on the dark reddish floor. It's topped with a black countertop and a chic white vessel sink, where a single white ...
[ { "area": 77942, "bbox": [ 0, 0, 279, 753 ], "category_id": 100, "id": 128, "image_id": "ADE_train_00000024", "iscrowd": 0, "segmentation": { "counts": "0g=:hKGW4P1SKPOm4P1SKPOm4P1SKPOm4o0TKQOl4o0TKQOk4P1UKPOk4o0VKQOj4o0VKQOj4n0WKROh4o0XKQOh4o0XKQOh4n0YK...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000037
ADE_train_00000037.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000037.jpg", "height": 512, "id": "ADE_train_00000037", "width": 546 }
{ "caption": "This spacious bathroom feels like a real retreat, with its soft carpeted floor and calming olive-green walls. The centerpiece is a large, elevated bathtub surrounded by two white tiles and steps, with two gray towels neatly arranged on top. A wicker basket with toiletries sits in the corner. The room is...
[ { "area": 88245, "bbox": [ 0, 1, 546, 406 ], "category_id": 100, "id": 145, "image_id": "ADE_train_00000037", "iscrowd": 0, "segmentation": { "counts": "]6Z6l3j5^Oa01O100N2O100O1O1O100O1O100O1O1O100O1O1VEVN]7k1dH:V5FlJ^2m2cMTMc2d2^M^M`2a2aM`M^2_2cMbM\\2^...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000041
ADE_train_00000041.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000041.jpg", "height": 683, "id": "ADE_train_00000041", "width": 512 }
{ "caption": "This sleek and modern bathroom makes clever use of space with its clean lines and minimalist design. A walk-in shower is enclosed by a curved glass screen and a frosted glass door, with a small shelf inside for toiletries. To the right, a stylish wall-mounted sink and cabinet are set against a striking ...
[ { "area": 89711, "bbox": [ 0, 1, 511, 546 ], "category_id": 100, "id": 167, "image_id": "ADE_train_00000041", "iscrowd": 0, "segmentation": { "counts": "a7a7Z6P5WJ^Ei5b:YJ\\Eg5d:YJ\\Eg5d:YJ\\Eg5d:YJYE_OWNX6`<YJXEk5h:UJVEm5j:SJTEo5l:QJSEP6m:oIRES6n:mIQET6...
[ { "id": 1, "name": "object" } ]
train
ADE_train_00000042
ADE_train_00000042.jpg
{ "data_source": "ADE20K", "file_name": "ADE_train_00000042.jpg", "height": 536, "id": "ADE_train_00000042", "width": 402 }
{ "caption": "This picture shows a compact, all-in-one vanity unit, perfect for a small bathroom. The white unit is set against a simple wall and features a molded sink on top. Below, a two-door cabinet provides storage space, and above the sink is a matching medicine cabinet which includes a mirror and several built...
[ { "area": 55421, "bbox": [ 2, 0, 400, 535 ], "category_id": 100, "id": 182, "image_id": "ADE_train_00000042", "iscrowd": 0, "segmentation": { "counts": "]^1j3R=L3M4L4L4L4L4L4L4L4L4L4L4L3M4L4L4L4L4L4L4L4L4L4L4L4L3M4L4L4L4L^hk06\\WTO7I8H8H8H8UOjNdA^1T>kNbA...
[ { "id": 1, "name": "object" } ]
End of preview. Expand in Data Studio

PanoCaps (PANORAMA): Panoptic grounded captioning via mask-guided refinement

Paper Code Data Website

Panorama teaser image

PanoCaps is a unified dataset for panoptic grounded captioning. A model must generate a full-scene caption and ground every mentioned entity (things and stuff) with pixel-level masks.

Every caption:

  • Is human-written
  • Covers the entire visible scene
  • Contains rich open-vocabulary descriptions beyond category labels
  • Includes inline grounding tags referring to segmentation masks
  • Supports one-to-many and many-to-one text ↔ mask mappings

This makes PanoCaps suitable for training and evaluating vision–language models requiring both detailed scene understanding and fine-grained spatial grounding.

The repository includes:

  1. Raw annotations in JSON format (annotations/) β†’ best for training & evaluation
  2. A processed Hugging Face dataset β†’ best for visualization & inspection

This dataset is intended exclusively for research and non-commercial use.

Dataset Details

Dataset Description

This benchmark supports panoptic grounded captioningβ€”a task requiring models to generate long-form, descriptive captions for the entire scene and link all mentioned entities (things and stuff) to pixel-level masks. Masks follow standard COCO-style panoptic annotations.

The dataset comprises 3,470 images with a total of 34K panoptic regions, averaging ~9 grounded entities per image. The human-written captions are designed for maximum quality and detail:

  • Comprehensive: Covers the entire visible scene.
  • Open-Vocabulary: Entity descriptions extend beyond simple category labels.
  • Fully Grounded: Uses in-text markers and explicit mapping structures (label_matched) to link text spans to masks, ensuring >99% of regions are grounded.

Images

Images are not included in this repository.

To use the dataset, download the original images from the source datasets:

Dataset Data Download Link Associated Publication
ADE20K ADE20K Download ADE20K Paper
COCONut COCONut GitHub COCONut Paper
VIPSeg VIPSeg GitHub VIPSeg Paper

The JSON annotations reference these images by consistent file_name and id.

Repository Structure

Show Repository Structure
    PanoCaps/
    β”‚
    β”œβ”€β”€ πŸ“ annotations/
    β”‚   β”œβ”€β”€ πŸ“„ test_caption.json
    β”‚   β”œβ”€β”€ πŸ“„ test_mask.json
    β”‚   β”œβ”€β”€ πŸ“„ train_caption.json
    β”‚   β”œβ”€β”€ πŸ“„ train_mask.json
    β”‚   β”œβ”€β”€ πŸ“„ val_caption.json
    β”‚   └── πŸ“„ val_mask.json
    β”œβ”€β”€ πŸ“ data/ (parquet/HF version)
    └── πŸ“„ README.md
    

Recommended Usage

This dataset is provided in two complementary formats:

1. Hugging Face Dataset Format (recommended for inspection & visualization)

The train, val, and test splits uploaded to the Hugging Face Hub combine captioning and panoptic mask information into a single unified entry per image. This format is ideal for browsing samples interactively in the Dataset Viewer or quick experimentation.

2. Original COCO-Style JSON Format (recommended for training & evaluation)

Raw annotations are provided under annotations/ as pairs of Caption files and Mask files (e.g., train_caption.json / train_mask.json).

These follow the original COCO-style structure and are best suited for:

  • Model training
  • Model evaluation
  • Direct integration into COCO-based pipelines

Caption and mask files can be matched using the shared image_id / id fields in images[*] and annotations[*].

Detailed COCO Format

Show Caption File Example (Structure + Single Entry)
{
  "annotations": [
    {
      "caption": "The image shows a small, brightly lit bathroom dominated by a white tiled wall...",
      // Clean natural-language caption
      "caption_ann": "The image shows a small, brightly lit bathroom dominated by a <0:white tiled wall>...",
      // Caption with grounded <mask_id:text> references
      "label_matched": [
        { "mask_ids": [0], "txt_desc": "white tiled wall" },
        { "mask_ids": [5], "txt_desc": "white bathtub with chrome faucets" }
        // ...
      ],
      // Mapping text spans β†’ one or more mask IDs
      // Masks may appear multiple times with different descriptions
      "id": 0,
      // Caption annotation ID
      "image_id": "00000006",
      // Matches the images[*].id field
      "labels": ["wall", "floor", "ceiling", "window", "curtain", "tub", "sink"]
      // All unique semantic labels from the original annotations
    }
  ],
  "images": [
    {
      "file_name": "00000006.jpg",
      // Image filename
      "height": 973,
      "width": 512,
      // Image resolution
      "id": "00000006",
      // Image identifier (matches annotation.image_id)
      "data_source": "ADE20K"
      // Image source
    }
  ]
}
Show Mask File Example (Structure + Single Entry)
{
  "annotations": [
    {
      "id": 0,
      // Unique ID of this panoptic region
      "image_id": "00000006",
      // Links this region to the image and caption (matches images[*].id and caption image_id)
      "category_id": 100,
      // Semantic category ID (from the original annotations)
      "segmentation": {
        "size": [973, 512],
        // Height and width of the full image (needed to decode the RLE mask)
        "counts": "d1`1Zk0P2C=C<D=C=C6J=..." 
        // RLE-encoded mask in COCO panoptic format
      },
      "area": 214858,
      // Number of pixels covered by this segment
      "bbox": [0.0, 0.0, 511.0, 760.0],
      // COCO-format bounding box [x, y, width, height]
      "iscrowd": 0,
      // 0 for normal segment, 1 if this region is a crowd
      "thing_or_stuff": "stuff"
      // Whether this region is an object-like "thing" or background-like "stuff"
    }
  ],
  "images": [
    {
      "file_name": "00000006.jpg",
      // Image file name (in the original dataset)
      "height": 973,
      "width": 512,
      // Image resolution
      "id": "00000006"
      // Image identifier (matches annotations[*].image_id and caption image_id)
      "data_source": "ADE20K"
      // Image source
    }
  ],
  "categories": [
    {
      "id": 1,
      // Category ID (referenced by annotations[*].category_id)
      "name": "object"
      // Human-readable category name
    }
  ]
}

Curation and Annotation Details

PanoCaps was built to overcome the limitations of prior grounded captioning datasets (e.g., auto-generated captions, limited vocabulary, and incomplete grounding). Our goal was to create a resource where captions describe every meaningful region using open-vocabulary language, with explicit grounding for each referenced entity. The creation process involved four stages:

  1. Image Selection: A diverse subset of images was curated from ADE20K, COCONut, and VIPSeg to ensure visual quality and suitability for dense grounding.
  2. Captioning: Professional annotators wrote long-form, fine-grained scene descriptions, highlighting attributes, relationships, and all visible entities.
  3. Grounding: Annotators tagged textual references with <mask_id:description> markers and produced label_matched structures that map text spans to one or more segmentation masks.
  4. Validation: A second QC stage verified the correctness of grounding IDs, completeness of region coverage, and annotation consistency. Data Producers: The base panoptic masks were sourced from the original datasets (ADE20K, COCONut, VIPSeg). However, all captions and grounding annotations were created specifically for PanoCaps by paid professional annotators following internal guidelines.

License (Research Only)

Because this repository merges, normalizes, and redistributes content from already existing datasets, the combined dataset is provided strictly for research and non-commercial use. Commercial use is not permitted. Users must comply with the licenses of each original source dataset.


Citation

If you find our work useful for your research, please consider citing our paper:

@article{YOUR_CITATION_HERE,
  title={Your Title},
  author={Your Name},
  year={2024}
}
Downloads last month
48

Papers for HuggingSara/PanoCaps