Spaces:
Runtime error
Runtime error
Toy Leksut
commited on
Commit
·
5f2b0be
1
Parent(s):
2f5645d
update markdown
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def main():
|
|
74 |
|
75 |
Given an input image and a neural network, the adversarial image can be generated from
|
76 |
|
77 |
-
<code>adv_img = input_img + epsilon*input_img.grad</code>
|
78 |
|
79 |
''')
|
80 |
|
|
|
74 |
|
75 |
Given an input image and a neural network, the adversarial image can be generated from
|
76 |
|
77 |
+
<code>adv_img = input_img + epsilon * sign(input_img.grad)</code>
|
78 |
|
79 |
''')
|
80 |
|