cocodataset / panopticapi

COCO 2018 Panoptic Segmentation Task API (Beta version)
Other
418 stars 184 forks source link

panoptic_coco_categories.json not found #52

Closed MarcRlhft closed 2 years ago

MarcRlhft commented 2 years ago

So I'm trying to prepare some data in the coco panoptic format for Detectron2's PanopticFPN. I'm missing the stuff annotation pngs. Apparently you can use the panoptic2semantic_segmentation Converter. But there is a default file path:

parser.add_argument('--categories_json_file', type=str, help="JSON file with Panoptic COCO categories information", default='./panoptic_coco_categories.json')

I have no idea where to get this json file from... I have the png annotations and the overall .json file with all the instances etc. Someone already did this?