cocodataset / panopticapi

COCO 2018 Panoptic Segmentation Task API (Beta version)
Other
417 stars 185 forks source link

How are the ground truth panoptic annotations generated? #18

Open JoyHuYY1412 opened 5 years ago

JoyHuYY1412 commented 5 years ago

According to the code, it gives the combination method of predictions of instance and semantic segmentation as the paper -- Panoptic Segmentation.

However, how do you generate the ground truth panoptic dataset? How do you deal with the conflicts of semantic and instance segmentation and the overlap of different instances when there are no confidence scores anymore?

alexander-kirillov commented 5 years ago

You can download COCO panoptic ground truth with all overlaps resolved from http://cocodataset.org/#download .

Ground truth conversion for cityscapes is available in this repository (panopticapi/cityscapes_gt_converter/cityscapes_panoptic_converter.py). ADE20k and Mapillary Vistas also can be converted using this script with small modifications.

xiong224 commented 4 years ago

You can download COCO panoptic ground truth with all overlaps resolved from http://cocodataset.org/#download .

Ground truth conversion for cityscapes is available in this repository (panopticapi/cityscapes_gt_converter/cityscapes_panoptic_converter.py). ADE20k and Mapillary Vistas also can be converted using this script with small modifications.

Could you please give an example to change the code for ade20k? Thanks a lot.