Entity
Entity copied to clipboard
KeyError: 'supercategory'
When I run "python3 entity_to_json.py", the following problems occur:
Traceback (most recent call last):
File "entity_to_json.py", line 23, in
I find that the problem occurs in categories_list, and there is no "supercategory" key in categories_list(from detectron2.data.datasets.builtin_meta import COCO_CATEGORIES) .
Same Problem. You can download the json file from 'https://github.com/cocodataset/panopticapi/blob/master/panoptic_coco_categories.json' and load it as 'COCO_CATEGORIES'.