Panseg to Instance Segmentation Script Produces Inaccurate Annotations when objects overlap
Closed this issue · 4 comments
I'm using the script to transform the panseg annotations to instance segmentation and am seeing undesirable annotations.
Here is example image 000000004134.jpg from the val2017 dataset, specifically the dining table class overlapping the person.
Here is another example image 000000025139.jpg from the val2017 dataset where the zebra segmentation appear off.
It looks like the script was recently updated, do you know what could be causing this?
I'm using the script to transform the panseg annotations to instance segmentation and am seeing undesirable annotations.
Here is example image 000000004134.jpg from the val2017 dataset, specifically the dining table class overlapping the person.
Here is another example image 000000025139.jpg from the val2017 dataset where the zebra segmentation appear off.
It looks like the script was recently updated, do you know what could be causing this?
hi, thanks for the question. I believe this could be the problem of how you open the instance mask. I used pycocotools api, it looks good on my side. You can check my recent commit on the visualization: https://github.com/bytedance/coconut_cvpr2024/blob/main/tutorials/kmaxdeeplab_instance/vis_converted_instance.ipynb
Thank you, I also recreated this with CV2 and just drawing the polygon segments.
I appreciate you looking at this. Closing now.