-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Added support for GREAT Score [NIPS-2024] #2527
base: dev_1.20.0
Are you sure you want to change the base?
Conversation
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.3.0 to 11.0.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@10.3.0...11.0.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Codecov ReportAttention: Patch coverage is
❌ Your project check has failed because the head coverage (53.17%) is below the target coverage (83.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## dev_1.20.0 #2527 +/- ##
==============================================
- Coverage 53.38% 53.17% -0.21%
==============================================
Files 658 670 +12
Lines 60292 61978 +1686
Branches 10274 10523 +249
==============================================
+ Hits 32186 32956 +770
- Misses 26450 27325 +875
- Partials 1656 1697 +41
|
|
||
import numpy as np | ||
import torch | ||
from torch.autograd import Variable |
Check notice
Code scanning / CodeQL
Unused import
great_scores = [] | ||
for i in range(len(samples)): | ||
if correct_predictions[i]: | ||
predicted_label = predicted_labels[i] |
Check notice
Code scanning / CodeQL
Unused local variable
# SOFTWARE. | ||
|
||
from art.defences.evaluation.evasion import great_score | ||
import numpy as np |
Check notice
Code scanning / CodeQL
Unused import
Signed-off-by: Beat Buesser <[email protected]>
Signed-off-by: Adam Lockwood [IBM] <[email protected]>
correct f-strings in parallel/non-parallel AutoAttack metadata
… detection Signed-off-by: Beat Buesser <[email protected]>
Signed-off-by: Beat Buesser <[email protected]>
Signed-off-by: Beat Buesser <[email protected]>
Signed-off-by: Beat Buesser <[email protected]>
Bumps [six](https://github.com/benjaminp/six) from 1.16.0 to 1.17.0. - [Changelog](https://github.com/benjaminp/six/blob/main/CHANGES) - [Commits](benjaminp/six@1.16.0...1.17.0) --- updated-dependencies: - dependency-name: six dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…-1.17.0 Bump six from 1.16.0 to 1.17.0
Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.2.2 to 2.2.3. - [Release notes](https://github.com/pandas-dev/pandas/releases) - [Commits](pandas-dev/pandas@v2.2.2...v2.2.3) --- updated-dependencies: - dependency-name: pandas dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…das-2.2.3 Bump pandas from 2.2.2 to 2.2.3
Bumps [cma](https://github.com/CMA-ES/pycma) from 3.3.0 to 4.0.0. - [Release notes](https://github.com/CMA-ES/pycma/releases) - [Commits](CMA-ES/pycma@r3.3.0...r4.0.0) --- updated-dependencies: - dependency-name: cma dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
…-4.0.0 Bump cma from 3.3.0 to 4.0.0
…low-11.0.0 Bump pillow from 10.3.0 to 11.0.0
Signed-off-by: Beat Buesser <[email protected]>
Signed-off-by: Beat Buesser <[email protected]>
…2553 Fix missing transfer to device in ProjectedGradientDescentPyTorch
Updates the requirements on [kornia](https://github.com/kornia/kornia) to permit the latest version. - [Release notes](https://github.com/kornia/kornia/releases) - [Changelog](https://github.com/kornia/kornia/blob/main/CHANGELOG.md) - [Commits](kornia/kornia@v0.7.1...v0.8.0) --- updated-dependencies: - dependency-name: kornia dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
…nia-approx-eq-0.8.0 Update kornia requirement from ~=0.7.1 to ~=0.8.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.0.0 to 11.1.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@11.0.0...11.1.0) --- updated-dependencies: - dependency-name: pillow dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
…low-11.1.0 Bump pillow from 11.0.0 to 11.1.0
…_docs Improve typing and documentation of AdversarialPatchPyTorch
Bumps [gpy](https://github.com/SheffieldML/GPy) from 1.13.1 to 1.13.2. - [Release notes](https://github.com/SheffieldML/GPy/releases) - [Changelog](https://github.com/SheffieldML/GPy/blob/devel/CHANGELOG.md) - [Commits](SheffieldML/GPy@v1.13.1...v1.13.2) --- updated-dependencies: - dependency-name: gpy dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…-1.13.2 Bump gpy from 1.13.1 to 1.13.2
Update to ART 1.19.1
Signed-off-by: Beat Buesser <[email protected]>
Bumps [catboost](https://github.com/catboost/catboost) from 1.2.3 to 1.2.7. - [Release notes](https://github.com/catboost/catboost/releases) - [Changelog](https://github.com/catboost/catboost/blob/master/RELEASE.md) - [Commits](catboost/catboost@v1.2.3...v1.2.7) --- updated-dependencies: - dependency-name: catboost dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…boost-1.2.7 Bump catboost from 1.2.3 to 1.2.7
Bumps [ruff](https://github.com/astral-sh/ruff) from 0.5.5 to 0.9.3. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.5.5...0.9.3) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Beat Buesser <[email protected]>
…f-0.9.3 Bump ruff from 0.5.5 to 0.9.3
Description
This pull request adds the support of the BEYOND Detection method proposed in [1].
[1] GREAT Score: Global Robustness Evaluation of Adversarial Perturbation using Generative Models. Paper
Type of change
Please check all relevant options.
Testing
Please describe the tests that you ran to verify your changes. Consider listing any relevant details of your test configuration.
Test Configuration:
Checklist