Open Oshwiciqwq opened 3 months ago
v2x/v2x_utils/eval_utils.py, L247 return np.sum((recall[index + 1] - recall[index]) * precision[index + 1]) I think this line does not calculate the area from 0 to recall[0]. It will produce smaller AP when recall[0] is larger than 0.
return np.sum((recall[index + 1] - recall[index]) * precision[index + 1])
v2x/v2x_utils/eval_utils.py, L247
return np.sum((recall[index + 1] - recall[index]) * precision[index + 1])
I think this line does not calculate the area from 0 to recall[0]. It will produce smaller AP when recall[0] is larger than 0.