Spaces:
Runtime error
Runtime error
dalexanderch
commited on
Commit
·
b1602af
1
Parent(s):
4754511
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ def iterative_least_likely_fgsm_cifar10(image, model, epsilon, alpha, niter, nb_
|
|
122 |
return adv_x.numpy()
|
123 |
|
124 |
def fn(dataset, attack):
|
125 |
-
epsilon=
|
126 |
alpha=1/255
|
127 |
niter = int(min(4 + epsilon*255, 1.25 * epsilon * 255))
|
128 |
nb_classes = 10
|
|
|
122 |
return adv_x.numpy()
|
123 |
|
124 |
def fn(dataset, attack):
|
125 |
+
epsilon=15/255
|
126 |
alpha=1/255
|
127 |
niter = int(min(4 + epsilon*255, 1.25 * epsilon * 255))
|
128 |
nb_classes = 10
|