You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for it to work. Sadly the repo is not really maintained anymore, but is still considered the official reference for mAP.
Instead you can install the faster-coco-eval backend (https://github.com/MiXaiLL76/faster_coco_eval) which we also supports. This backend have implemented the fix so your code calculates the correct value.
Thanks @SkafteNicki for the information. How to ensure the faster-coco-eval backend is used? Just installing it will do? Thanks again.
Sorry I should have specified that. You install the backend with pip install faster-coco-eval and then when initializing the MeanAveragePrecision class you need to set the backend argument to "faster_coco_eval".
🐛 Bug
MeanAveragePrecision
return map=-1 for any value other than 100 for max_detection_thresholdsTo Reproduce
Expected behavior
Expected: map=1 (for 50 max detections)
Environment
conda
,pip
, build from source): 1.2.1The text was updated successfully, but these errors were encountered: