This dataset contains semantic segmentation maps (monochrome images where each pixel corresponds to one of the 133 COCO categories used for panoptic segmentation). It was generated from the 2017 validation annotations using the following process:
git clone
https://github.com/cocodataset/panopticapi and install it.
python converters/panoptic2semantic_segmentation.py --input_json_file /data/datasets/coco/2017/annotations/panoptic_val2017.json… See the full description on the dataset page:
https://huggingface.co/datasets/enterprise-explorers/coco-semantic-segmentation.