Skip to content

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