Skip to content

Commit

Permalink
round scores
Browse files Browse the repository at this point in the history
  • Loading branch information
dillonalaird committed Apr 24, 2024
1 parent 669a88b commit 0fc5d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vision_agent/tools/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,7 @@ def __call__(self, image: str) -> dict:
]
box = normalize_bbox(box, image_size)
output["bboxes"].append(box)
output["scores"].append(det["score"])
output["scores"].append(round(det["score"], 2))
return output


Expand Down

0 comments on commit 0fc5d14

Please sign in to comment.