pmeletis / panoptic_parts

This repository contains code and tools for reading, processing, evaluating on, and visualizing Panoptic Parts datasets. Moreover, it contains code for reproducing our CVPR 2021 paper results.
https://panoptic-parts.readthedocs.io/en/stable
Apache License 2.0
100 stars 16 forks source link

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

Open anmolkalia opened 2 years ago

anmolkalia commented 2 years ago

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?

DdeGeus commented 1 year ago

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.