MCPcopy Create free account
hub / github.com/BertaBescos/DynaSLAM / compute_ap

Function compute_ap

src/python/utils.py:562–626  ·  view source on GitHub ↗

Compute Average Precision at a set IoU threshold (default 0.5). Returns: mAP: Mean Average Precision precisions: List of precisions at different class score thresholds. recalls: List of recall values at different class score thresholds. overlaps: [pred_boxes, gt_boxes] IoU overl

(gt_boxes, gt_class_ids,
               pred_boxes, pred_class_ids, pred_scores,
               iou_threshold=0.5)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

trim_zerosFunction · 0.85
compute_overlapsFunction · 0.85

Tested by

no test coverage detected