Skip to content

Commit

Permalink
Fix UT
Browse files Browse the repository at this point in the history
  • Loading branch information
mzr1996 committed Jan 4, 2024
1 parent 18c865a commit 79c332d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_models/test_backbones/test_repmlp.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,5 @@ def test_deploy_(self):

assert len(feats_) == len(feats__)
for i in range(len(feats)):
self.assertTrue(torch.allclose(feats__[i], feats_[i]))
self.assertTrue(
torch.allclose(feats__[i], feats_[i], rtol=0.01, atol=0.01))

0 comments on commit 79c332d

Please sign in to comment.