Skip to content

Commit

Permalink
Fixing failing CI test, inception score (pytorch#2609)
Browse files Browse the repository at this point in the history
  • Loading branch information
vfdev-5 authored Jun 15, 2022
1 parent b7f3d60 commit 1566604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ignite/metrics/gan/test_inception_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def update(_, i):

assert "InceptionScore" in engine.state.metrics

assert pytest.approx(calculate_inception_score(y)) == m.compute()
assert pytest.approx(calculate_inception_score(y), rel=1e-5) == m.compute()

metric_devices = [torch.device("cpu")]
if device.type != "xla":
Expand Down

0 comments on commit 1566604

Please sign in to comment.