We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7597d26 commit ffd042aCopy full SHA for ffd042a
tests/attacks/evasion/test_square_attack.py
@@ -57,8 +57,6 @@ def test_generate(art_warning, fix_get_mnist_subset, image_dl_estimator_for_atta
57
expected_mean = 0.00073682
58
expected_max = 0.25
59
60
- print(np.max(np.abs(x_train_mnist_adv - x_train_mnist)) )
61
-
62
assert np.mean(np.abs(x_train_mnist_adv - x_train_mnist)) == pytest.approx(expected_mean, abs=0.025)
63
assert np.max(np.abs(x_train_mnist_adv - x_train_mnist)) == pytest.approx(expected_max, abs=0.05)
64
except ARTTestException as e:
0 commit comments