Open crazyboy9103 opened 1 month ago
Hi @crazyboy9103 , thanks for the report. I'm not so familiar with that part of the code-base so I could be way off, but I suspect the logic you're looking for is implemented later in https://github.com/pytorch/vision/blob/6d7851bd5e2bedc294e40e90532f0e375fcfee04/references/segmentation/coco_utils.py#L50-L56 ?
https://github.com/pytorch/vision/blob/6d7851bd5e2bedc294e40e90532f0e375fcfee04/references/segmentation/coco_utils.py#L27-L41 Above seems to assume that objects are not occluded, not merging rles from
frPyObjects
. In such case, i think it must be changed toIs there any specific reason for this, or am I wrong?