yfpeng/object_detection_metrics

recall precision output reversed

Closed this issue · 1 comments

ap, mpre, mrec, _ = calculate_all_points_average_precision(recalls, precisions)

the output of recall and precision are reversed generating the wrong results (for visualizations later on)

mpre and mrec should be swapped

Fixed. Thank you!