cocodataset / panopticapi

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

Panoptic To Segmentation Converter Bug #40

Open rsomani95 opened 3 years ago

rsomani95 commented 3 years ago

Hi. Thank you for sharing this work and dataset :)

When trying to run the conversion script from panoptic to segmentation, I ran into a KeyError because of this line. I'm afraid I didn't save away the full stack trace.

Anyways, commenting that line out made the conversion go smoothly. I believe the intended reference was to the categories variable which does have a color key