LeyRio / MIG_Bench

The MIG benchmark of CVPR2024 MIGC
Other
7 stars 1 forks source link

How to compute AP with your evaluation code? #1

Open FlyingRoastDuck opened 1 month ago

FlyingRoastDuck commented 1 month ago

Thanks for releasing the code. I noted that the imported "AveragePrecisionOnImages" function is not used in eval_mig.py, so how can we use your code to compute AP ?

LeyRio commented 1 month ago

Hello, thank you for your attention to our work. The calculation of AP is not used in MIG bench, so this function is actually not utilized in the MIG code. Actually, the source code for this function comes from https://github.com/Ao-Lee/AveragePrecision . When calculating AP, you only need to organize the detection results and GT in the required format and input them into this function to compute the AP.