panoptic_parts
panoptic_parts copied to clipboard
Number of obj masks with part annotations and number of part mask annotations in cityscapes panoptic parts
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?
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.