AIR-THU / DAIR-V2X

Apache License 2.0
424 stars 65 forks source link

Question about 'compute_ap' function #92

Open Oshwiciqwq opened 3 months ago

Oshwiciqwq commented 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.