Open trs96 opened 3 years ago
@trs96 did you ever find a solution to this problem?
You can change line 69 of converters/detection2panoptic_coco_format.py
with continue
so it will only skip the samples with overlaps instead of crashing.
https://github.com/cocodataset/panopticapi/blob/7bb4655548f98f3fedc07bf37e9040a992b054b0/converters/detection2panoptic_coco_format.py#L69
@cydal @domef @trs96 Another thing is to comment out the lines 69 and 68. This will however overwrite the pixels with the last class label.
Hey! I saw that using detection2panoptic is only possible if there are ne overlappings in the annotations. Since I have some overlappings in my annoations, how to get rid of them? Any suggestion? :)
I'm struggling with this problem already for a while..