Skip to content

Commit

Permalink
test(models): fix repvgg test
Browse files Browse the repository at this point in the history
  • Loading branch information
frgfm committed Sep 9, 2024
1 parent 2835027 commit 2db9ed5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_models_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_repvgg_reparametrize():
assert mod.weight.data.shape[2:] == (3, 3)
# Check that values are still matching
with torch.no_grad():
assert torch.allclose(out, model(x), atol=1e-4)
assert torch.allclose(out, model(x), atol=1e-3)


def test_mobileone_reparametrize():
Expand Down

0 comments on commit 2db9ed5

Please sign in to comment.