Skip to content

Commit

Permalink
add average parameter to MeanAveragePrecision to specify micro or mac…
Browse files Browse the repository at this point in the history
…ro calculation
  • Loading branch information
imatiach-msft committed Nov 14, 2023
1 parent 4f3d90c commit 58c16bf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,7 @@ def compute_object_detection_metrics(
continue

metric_OD = MeanAveragePrecision(
average=aggregate_method,
class_metrics=True,
iou_thresholds=normalized_iou_threshold).to(device)
true_y_cohort = [true_y[cohort_index] for cohort_index
Expand Down

0 comments on commit 58c16bf

Please sign in to comment.