Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
brimoor committed Dec 20, 2024
1 parent 2992a7d commit e87ce31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/user_guide/evaluation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ The example below demonstrates COCO-style detection evaluation on the
:ref:`Model Evaluation panel <app-model-evaluation-panel>`!

mAP, mAR and PR curves
~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~

You can compute mean average precision (mAP), mean average recall (mAR), and
precision-recall (PR) curves for your predictions by passing the
Expand Down
1 change: 0 additions & 1 deletion fiftyone/utils/eval/coco.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,6 @@ def _compute_pr_curves(samples, config, classes=None, progress=None):
for ri, pi in enumerate(inds):
q[ri] = pre[pi]
t[ri] = confs[pi]

except:
pass

Expand Down

0 comments on commit e87ce31

Please sign in to comment.