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?
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?