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
First, Thanks for you work, and it's really generous for you to open this code.
I have a question for AP.
GetPascalVOCMetrics in helper/Evaluator.py
# compute precision, recall and average precisionacc_FP=np.cumsum(FP) # len(FP) is length of valid bbox countacc_TP=np.cumsum(TP)
rec=acc_TP/nposprec=np.divide(acc_TP, (acc_FP+acc_TP))
# Depending on the method, call the right implementationifmethod==MethodAveragePrecision.EveryPointInterpolation:
[ap, mpre, mrec, ii] =Evaluator.CalculateAveragePrecision(rec, prec)
else:
[ap, mpre, mrec, _] =Evaluator.ElevenPointInterpolatedAP(rec, prec)
this recall, precision value is only nms_score_thresh=0.3, iou_thresh=0.4, in VOC2007_mAP definition, nms_thresh should change between [0.05, 0.95, 0.1]. so PR curve is under different nms_thresh value. Related mAP work can be found in daveluo‘s notebook modified from Suggar’
so, I think this AP value should be AP@0.3, how do you think that?
Best Wishes!
The text was updated successfully, but these errors were encountered:
First, Thanks for you work, and it's really generous for you to open this code.
I have a question for AP.
GetPascalVOCMetrics
in helper/Evaluator.pythis recall, precision value is only nms_score_thresh=0.3, iou_thresh=0.4, in VOC2007_mAP definition, nms_thresh should change between [0.05, 0.95, 0.1]. so PR curve is under different nms_thresh value. Related mAP work can be found in daveluo‘s notebook modified from Suggar’
so, I think this AP value should be AP@0.3, how do you think that?
Best Wishes!
The text was updated successfully, but these errors were encountered: