facebookresearch / detectron2

Detectron2 is a platform for object detection, segmentation and other visual recognition tasks.
https://detectron2.readthedocs.io/en/latest/
Apache License 2.0
30.55k stars 7.49k forks source link

How to get LVIS-InstanceSegmentation model category values? #1639

Closed raspberry-pi-maker closed 4 years ago

raspberry-pi-maker commented 4 years ago

❓ I know that the LVIS model is categorized into 1230.

How can I know the number of 1230 classes and the corresponding class names?

ppwwyyxx commented 4 years ago

answered in https://detectron2.readthedocs.io/tutorials/datasets.html#metadata-for-datasets