Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect mAP when boxes are normalized to [0-1] #153

Open
ptran1203 opened this issue Jul 15, 2021 · 0 comments
Open

Incorrect mAP when boxes are normalized to [0-1] #153

ptran1203 opened this issue Jul 15, 2021 · 0 comments

Comments

@ptran1203
Copy link

I check your code and see that you + 1 for intersection width and height. I think you want to avoid zero division error, but it leads to a significant shift if I measure the results at different scales (image resolution).

I think we should replace 1 with a very small number such as 1e-6

image

https://github.com/Cartucho/mAP/blob/master/main.py#L557..L562

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant