hu64 / SpotNet

Repository for the paper SpotNet: Self-Attention Multi-Task Network for Object Detection
MIT License
51 stars 10 forks source link

About evaluation #10

Closed habibian closed 3 years ago

habibian commented 3 years ago

Hey,

I have a question on the difference in APs computed by COCO-API vs computed by the official MATLAB evaluation tool:

Thanks :)

hu64 commented 3 years ago

Hi,

I have two hypothesis as to why that might be. First of all, you have to make sure to ignore the detection in the ignore regions for each sequence. That will have an impact for sure. Second, you have to do the evaluation with the full image resolution, the "--keep_res" parameter. I ran the evaluation in a VM using Octave, maybe you can set up something similar? Hope that helps!

habibian commented 3 years ago

Thanks for the prompt response :)

The keep_res flag is set and the predictions are made over the whole image (as in your implementation). And I am evaluating over all of the predicted and ground-truth boxes. So I agree that the difference is probably coming from the ignore regions.

Very helpful! thanks.