Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Louis committed Aug 17, 2023
1 parent 8ac3532 commit 0f6d5f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def test_transform(self):
results.update(bbox_center=center, bbox_scale=scale)
results = transform(results)
self.assertTrue(np.allclose(results['bbox_center'], center))
self.assertTrue(np.allclose(results['bbox_scale'], scale))
self.assertTrue(np.allclose(results['bbox_scale'], scale * padding))

def test_repr(self):
transform = GetBBoxCenterScale(padding=1.25)
Expand Down

0 comments on commit 0f6d5f1

Please sign in to comment.