panoptic_parts icon indicating copy to clipboard operation
panoptic_parts copied to clipboard

Number of obj masks with part annotations and number of part mask annotations in cityscapes panoptic parts

Open anmolkalia opened this issue 2 years ago • 1 comments

Is there a quick way to get the number of object masks that have part annotations as well as the number of part mask annotations or part instance annotations in cityscapes panoptic parts?

anmolkalia avatar Oct 28 '22 22:10 anmolkalia

My apologies for the late reply. There is no function that we have already implemented in this repository that outputs this directly. The easiest way would be to loop over all annotations, and identify the unique combinations of sids (scene-level classes), iids (instance ids) and pids (part-level classes) for the categories in which you are interested. I hope this helps.

DdeGeus avatar Apr 29 '23 19:04 DdeGeus