Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX + Enhancement]
FGM
andPGD
: fix L1 and extend to Lp #2382[FIX + Enhancement]
FGM
andPGD
: fix L1 and extend to Lp #2382Changes from 34 commits
05d2923
ae4b4f0
a8cb2d8
4e2e837
a772f0d
930cbac
f29e5ad
cc091b3
a6581af
1c41b71
7b149b4
a143476
dffe33d
97ed4fe
2695a1f
93e3add
cbe1fa5
7c1c93c
b7d0a6a
6038995
12e1347
d36948c
0cfe35a
e8f0718
fe7ea47
f4b5b93
96a6c93
ffd3622
0d45b97
7eb30c4
5c74f1e
c441b8d
d5a3178
0ddafcd
baa1039
e2666b4
9e5e0ed
435e6b3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 451 in art/attacks/evasion/fast_gradient.py
Codecov / codecov/patch
art/attacks/evasion/fast_gradient.py#L451
Check warning on line 459 in art/attacks/evasion/fast_gradient.py
Codecov / codecov/patch
art/attacks/evasion/fast_gradient.py#L455-L459
Check warning on line 461 in art/attacks/evasion/fast_gradient.py
Codecov / codecov/patch
art/attacks/evasion/fast_gradient.py#L461
Check warning on line 309 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L309
Check warning on line 341 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L337-L341
Check warning on line 343 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L343
Check warning on line 347 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L346-L347
Check warning on line 349 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L349
Check warning on line 353 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L351-L353
Check warning on line 357 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L355-L357
Check warning on line 359 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L359
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add this extended documentation of
eps
also to the class level in line 84 of this files and similar lines for TensorFlow and Numpy implementations.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not entirely sure if this is the exact same epsilon. As such, I don't really know what the description should be at the class level to be honest. I think the only difference is that the class-level
eps
is potentially split if the method is iterative, but I'm not sure that there is no other difference. As such, I would appreciate if you could provide the wanted doc for this one.Check warning on line 485 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L484-L485
Check warning on line 487 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L487
Check warning on line 492 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L489-L492
Check warning on line 499 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L498-L499
Check warning on line 505 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L504-L505
Check warning on line 512 in art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py
Codecov / codecov/patch
art/attacks/evasion/projected_gradient_descent/projected_gradient_descent_pytorch.py#L512