longzw1997 / Open-GroundingDino

This is the third party implementation of the paper Grounding DINO: Marrying DINO with Grounded Pre-Training for Open-Set Object Detection.
MIT License
452 stars 70 forks source link

I try to get AP per class. And I have 14 categories, Why does it output only 12 category AP? #69

Open Lee-ray-a opened 6 months ago

Lee-ray-a commented 6 months ago

The label_list is correctly set, and the output of the AP score is missing the last two classes. And, I tested the missing score category, the model correctly detect the object, so Where went wrong when accumulating the AP