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
During my evaluation, I came across the predefined sample size several times. I would like to modify it for a more accurate precision-recall graph. How is this possible? Increasing it by hand and providing an additional value into the get_thresholds() method changes the output size, but also leads to a false calculation of AP. I'm referring to
Edit: It seems that the get_mAP methods are falsely implemented as they are specifically hardcoded to work with predefined sample size of 41, and thus, aren't adjusting to changing sample sizes:
defget_mAP11(prec):
sums=0# Magic number 4foriinrange(0, prec.shape[-1], 4):
sums=sums+prec[..., i]
returnsums/11*100
defget_mAP40(prec):
sums=0# Magic number '1' as step size is defaulted to 1foriinrange(0, prec.shape[-1]):
sums=sums+prec[..., i]
returnsums/40*100
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
During my evaluation, I came across the predefined sample size several times. I would like to modify it for a more accurate precision-recall graph. How is this possible? Increasing it by hand and providing an additional value into the
get_thresholds()
method changes the output size, but also leads to a false calculation of AP. I'm referring tommdetection3d/mmdet3d/core/evaluation/kitti_utils/eval.py
Line 483 in 962fc83
Edit: It seems that the
get_mAP
methods are falsely implemented as they are specifically hardcoded to work with predefined sample size of 41, and thus, aren't adjusting to changing sample sizes:Beta Was this translation helpful? Give feedback.
All reactions