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

[#153] add epsilon number to avoid different result at different scale #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ptran1203
Copy link

@ptran1203 ptran1203 commented Jul 15, 2021

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

See Issue #153

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

Successfully merging this pull request may close these issues.

1 participant