Skip to content

Commit

Permalink
Relaxed tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
ternaus committed Oct 26, 2024
1 parent 4defb14 commit 8ae26ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2086,5 +2086,5 @@ def test_keypoints_bboxes_match(augmentation_cls, params):

x_min_transformed, y_min_transformed, x_max_transformed, y_max_transformed = transformed["bboxes"][0]

np.testing.assert_allclose(transformed["keypoints"][0], [x_min_transformed, y_min_transformed], atol=2)
np.testing.assert_allclose(transformed["keypoints"][1], [x_max_transformed, y_max_transformed], atol=2)
np.testing.assert_allclose(transformed["keypoints"][0], [x_min_transformed, y_min_transformed], atol=3)
np.testing.assert_allclose(transformed["keypoints"][1], [x_max_transformed, y_max_transformed], atol=3)

0 comments on commit 8ae26ac

Please sign in to comment.