-
Notifications
You must be signed in to change notification settings - Fork 401
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
MeanAveragePrecision
(map) returns -1.0 if max_detection_thresholds
is changed
#1153
Comments
Hi! thanks for your contribution!, great first issue! |
Closed by #1712 . |
Same issue using last library version |
@SkafteNicki could you recommend what to do ? |
@RocketFlash Let me reopen the issue and investigate. A lot has happened to the implementation since the issue was first opened, so hard to say right now. |
@SkafteNicki it seems something wrong with pycocotools, I've tried faster version of COCOEval wrapper based on This one and it calculates mAP correctly (not -1) |
MeanAveragePrecision
(map) returns -1.0 if max_detection_thresholds
is changed
What version are using as the original repo was forked and some OSS development continued |
🐛 Bug
I found a bug when changing the max_detection_thresholds of MeanAveragePrecision to a large number e.g. [1, 10, 1000] the result of the map calculation becomes -1.0
I wanted to increase the number of detections per image since my data has up to several thousand instances per image. I detected that the same problem occurs with the example given in the class definition.
To Reproduce
Run the example from the function definition with max_detection_thresholds=[1, 10, 1000] instead of the default [1, 10, 100].
Code sample
Output:
Expected behavior
Get the same output as with [1, 10, 100]:
Environment
Thanks for your help.
The text was updated successfully, but these errors were encountered: