Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqwang committed Dec 20, 2021
1 parent b2b7f06 commit 87a412e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_models_anchor_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ def test_anchor_generator(self):
assert tuple(anchors[0][0].shape) == (1, 1, 2, 2, 2)
assert tuple(anchors[1][0].shape) == (1, 1, 2, 2, 2)

torch.testing.assert_close(anchors[0][0], expected_grids, rtol=0, atol=0)
torch.testing.assert_close(anchors[1][0], expected_shifts, rtol=0, atol=0)
torch.testing.assert_close(anchors[0][0], expected_grids)
torch.testing.assert_close(anchors[1][0], expected_shifts)

0 comments on commit 87a412e

Please sign in to comment.