Skip to content

Commit 0bb11ad

Browse files
author
Beat Buesser
committed
Update expected value
Signed-off-by: Beat Buesser <[email protected]>
1 parent 0e1564b commit 0bb11ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/attacks/evasion/test_square_attack.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ def test_generate(art_warning, fix_get_mnist_subset, image_dl_estimator_for_atta
5555
expected_max = 0.3
5656
elif norm == 2:
5757
expected_mean = 0.00073682
58-
expected_max = 0.3
58+
expected_max = 0.25
59+
60+
print(np.max(np.abs(x_train_mnist_adv - x_train_mnist)) )
5961

6062
assert np.mean(np.abs(x_train_mnist_adv - x_train_mnist)) == pytest.approx(expected_mean, abs=0.025)
6163
assert np.max(np.abs(x_train_mnist_adv - x_train_mnist)) == pytest.approx(expected_max, abs=0.05)

0 commit comments

Comments
 (0)