Skip to content

Commit

Permalink
include recall_sweep in serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
brimoor committed Dec 20, 2024
1 parent 770c7d6 commit 2214753
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fiftyone/utils/eval/coco.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@ def _from_dict(cls, d, samples, config, eval_key, **kwargs):
precision = d["precision"]
recall = d["recall"]
iou_threshs = d["iou_threshs"]
recall_sweep = d.get("recall_sweep", None)
thresholds = d.get("thresholds", None)
return super()._from_dict(
d,
Expand All @@ -458,6 +459,7 @@ def _from_dict(cls, d, samples, config, eval_key, **kwargs):
precision=precision,
recall=recall,
iou_threshs=iou_threshs,
recall_sweep=recall_sweep,
thresholds=thresholds,
**kwargs,
)
Expand Down

0 comments on commit 2214753

Please sign in to comment.