COCONut-PanCap is a panoptic-grounded caption dataset for fine-grained visual understanding and generation.
It augments COCO-style panoptic segmentation with region-level natural language descriptions, enabling structured vision-language modeling and evaluation.
COCONut-PanCap extends panoptic segmentation by associating each segment with descriptive text grounded to that region.
Each sample includes:
The dataset supports both discriminative and generative multimodal tasks.
coconut_pancap/
β
βββ caption_train2017.tar
βββ pancap_val.tar
βββ coconut_pancap_sample.zip
β
βββ 000000000142.txt # Example annotation
βββ demo.jpg # Example image
β
βββ vis_pancap.py # Visualization script
Each annotation file (e.g., 000000000142.txt) follows a COCO-style structure:
{
"image_id": 142,
"file_name": "000000000142.jpg",
"segments_info": [
{
"segment_id": 6,
"category": "person",
"caption": "A man wearing a blue shirt standing near a table."
},
{
"segment_id": 12,
"category": "dog",
"caption": "A small brown dog sitting on the grass."
}
]
}
See demo.jpg for a sample image and 000000000142.txt for its corresponding annotation.
| Split | Images | Regions | Captions |
|---|---|---|---|
| Train | COCO train2017 subset | β | β |
| Val | COCONut val subset | β | β |
Full statistics are provided in the associated publication.
from datasets import load_dataset
dataset = load_dataset("xdeng77/coconut_pancap")
print(dataset)
python vis_pancap.py --ann_json path/to/annotation.json --img_dir path/to/images --mask_dir path/to/masks --out_dir ./vis_out
If you use this dataset, please cite:
@article{deng2025coconut,
title={Coconut-pancap: Joint panoptic segmentation and grounded captions for fine-grained understanding and generation},
author={Deng, Xueqing and Yu, Qihang and Athar, Ali and Yang, Chenglin and Yang, Linjie and Jin, Xiaojie and Shen, Xiaohui and Chen, Liang-Chieh},
journal={arXiv preprint arXiv:2502.02589},
year={2025}
}
This dataset builds upon MS COCO and follows the COCO license terms.
Xueqing Deng
xueqingdeng77@gmail.com
ByteDance Seed Research
15 commits
COCONut-PanCap is a panoptic-grounded caption dataset for fine-grained visual understanding and generation.
It augments COCO-style panoptic segmentation with region-level natural language descriptions, enabling structured vision-language modeling and evaluation.
COCONut-PanCap extends panoptic segmentation by associating each segment with descriptive text grounded to that region.
Each sample includes:
The dataset supports both discriminative and generative multimodal tasks.
coconut_pancap/
β
βββ caption_train2017.tar
βββ pancap_val.tar
βββ coconut_pancap_sample.zip
β
βββ 000000000142.txt # Example annotation
βββ demo.jpg # Example image
β
βββ vis_pancap.py # Visualization script
Each annotation file (e.g., 000000000142.txt) follows a COCO-style structure:
{
"image_id": 142,
"file_name": "000000000142.jpg",
"segments_info": [
{
"segment_id": 6,
"category": "person",
"caption": "A man wearing a blue shirt standing near a table."
},
{
"segment_id": 12,
"category": "dog",
"caption": "A small brown dog sitting on the grass."
}
]
}
See demo.jpg for a sample image and 000000000142.txt for its corresponding annotation.
| Split | Images | Regions | Captions |
|---|---|---|---|
| Train | COCO train2017 subset | β | β |
| Val | COCONut val subset | β | β |
Full statistics are provided in the associated publication.
from datasets import load_dataset
dataset = load_dataset("xdeng77/coconut_pancap")
print(dataset)
python vis_pancap.py --ann_json path/to/annotation.json --img_dir path/to/images --mask_dir path/to/masks --out_dir ./vis_out
If you use this dataset, please cite:
@article{deng2025coconut,
title={Coconut-pancap: Joint panoptic segmentation and grounded captions for fine-grained understanding and generation},
author={Deng, Xueqing and Yu, Qihang and Athar, Ali and Yang, Chenglin and Yang, Linjie and Jin, Xiaojie and Shen, Xiaohui and Chen, Liang-Chieh},
journal={arXiv preprint arXiv:2502.02589},
year={2025}
}
This dataset builds upon MS COCO and follows the COCO license terms.
Xueqing Deng
xueqingdeng77@gmail.com
ByteDance Seed Research
15 commits