-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
convert to panoptic dataset with specified colormap #718
Comments
Hi. Our COCO implementation supports only instance-id-encoded masks (segments described in json and single-number indexed PNGs). If you want masks in color, consider exporting into the Also, in the code snippet you provided, you'll probably need to add |
Thank you for quick reply. As far as I understood, I need to export in voc_segmentation format for panoptic labels. It is not clear for me how I can use exported labels in panoptic coco type. |
Also, I would like to ask how you handle overlapping segments defined with polygons while converting from coco detection or segmentation to panoptic? |
I'll try to explain in more details. Apparently, there are at least 2 COCO panoptic formats out there - one with instance-id masks (no colors, described here, p.4) and another one with class masks (in color; probably, used for the
Yes, probably, you're right. It could be a good feature request.
The process is the following. Let's consider few terms:
We provide several options to control behaviour:
|
I would like to convert a dataset imported as coco detection or cvat to panoptic coco format by setting specified colormap for masks.
I used the following code snippet for that. I could not find any information how to change colormap.
The text was updated successfully, but these errors were encountered: