Skip to content

Commit

Permalink
Improve test robustness
Browse files Browse the repository at this point in the history
  • Loading branch information
humpydonkey committed May 13, 2024
1 parent 8bcae34 commit 62311ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_grounding_dino():
prompt="coin",
image=img,
)
assert result["labels"] == ["coin"] * 24
assert [l.strip() for l in result["labels"]] == ["coin"] * 24
assert len(result["bboxes"]) == 24
assert len(result["scores"]) == 24

Expand Down

0 comments on commit 62311ed

Please sign in to comment.