Skip to content
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

PatchFool implementation #2163

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Add PatchFool attack tests

da05de1
Select commit
Loading
Failed to load commit list.
Open

PatchFool implementation #2163

Add PatchFool attack tests
da05de1
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Dec 22, 2023 in 5s

6 new alerts

New alerts in code changed by this pull request

  • 6 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 291 in art/estimators/estimator.py

See this annotation in the file changed.

Code scanning / CodeQL

Mismatch between signature and use of an overridden method Note

Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed too many arguments. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'no_grad'. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'no_grad'. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'no_grad'. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'no_grad'. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'no_grad'. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'no_grad'. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'no_grad'. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'no_grad'. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is passed an argument named 'no_grad'. Overriding method
method PyTorchEstimator._apply_preprocessing
matches the call.
Overridden method signature does not match
call
, where it is pass

Check notice on line 18 in tests/attacks/evasion/test_patchfool_pytorch.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'os' is not used.

Check notice on line 25 in tests/attacks/evasion/test_patchfool_pytorch.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'ClassGradientsMixin' is not used.

Check notice on line 26 in tests/attacks/evasion/test_patchfool_pytorch.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'PyTorchClassifier' is not used.

Check notice on line 27 in tests/attacks/evasion/test_patchfool_pytorch.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'BaseEstimator' is not used.

Check notice on line 29 in tests/attacks/evasion/test_patchfool_pytorch.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note test

Import of 'backend_test_classifier_type_check_fail' is not used.