open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.37k stars 9.42k forks source link

inference particular classes #10246

Open nlxxWangYH opened 1 year ago

nlxxWangYH commented 1 year ago

How to use existing Yolox models to inference only detect targets with a specific label, such as only the Person classes.

Lanrzip commented 1 year ago

having the same question....

happybear1015 commented 1 year ago

I alse meet the same problem in the task of Seg, because the first label in coco.py is It. But I don't know how to solve this problem.

10675

happybear1015 commented 1 year ago

I alse meet the same problem in the task of Seg, because the first label in coco.py is It. But I don't know how to solve this problem. #10675

I solved it!!!