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

Update to ART 1.19.0 #2538

Merged
merged 91 commits into from
Dec 20, 2024
Merged

Update to ART 1.19.0 #2538

merged 91 commits into from
Dec 20, 2024

Conversation

beat-buesser
Copy link
Collaborator

Description

This pull request merges the updates of ART 1.19.0 to branch main.

abigailgold and others added 30 commits April 16, 2024 14:13
…array instead of an integer).

Signed-off-by: abigailt <abigailt@il.ibm.com>
Signed-off-by: abigailt <abigailt@il.ibm.com>
…Conjugate Gradient (ACG) attack

Signed-off-by: yamamura-k <yamayama23bb@gmail.com>
Signed-off-by: yamamura-k <yamayama23bb@gmail.com>
Signed-off-by: yamamura-k <yamayama23bb@gmail.com>
Signed-off-by: yamamura-k <yamayama23bb@gmail.com>
Signed-off-by: yamamura-k <yamayama23bb@gmail.com>
Signed-off-by: yamamura-k <yamayama23bb@gmail.com>
Signed-off-by: yamamura-k <yamayama23bb@gmail.com>
Signed-off-by: yamamura-k <yamayama23bb@gmail.com>
Signed-off-by: yamamura-k <yamayama23bb@gmail.com>
allenhzy and others added 20 commits December 10, 2024 16:13
Signed-off-by: Beat Buesser <beat.buesser@ibm.com>
Signed-off-by: Beat Buesser <beat.buesser@ibm.com>
Signed-off-by: Beat Buesser <beat.buesser@ibm.com>
Signed-off-by: Beat Buesser <beat.buesser@ibm.com>
Signed-off-by: Beat Buesser <beat.buesser@ibm.com>
Add option for pool size in AutoAttack
Signed-off-by: Prem Kiran Laknaboina <premlaknaboina@gmail.com>
Signed-off-by: Prem Kiran Laknaboina <premlaknaboina@gmail.com>
Signed-off-by: Beat Buesser <beat.buesser@ibm.com>
Support sklearn models with multiple outputs
@beat-buesser beat-buesser self-assigned this Dec 17, 2024
@beat-buesser beat-buesser added the release Releases of ART label Dec 17, 2024
@beat-buesser beat-buesser added this to the ART 1.19.0 milestone Dec 17, 2024
self.count_condition_1 = np.zeros(shape=(_batch_size,))
gradk_1 = np.zeros_like(x_k)
cgradk_1 = np.zeros_like(x_k)
cgradk = np.zeros_like(x_k)

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'cgradk' is unnecessary as it is
redefined
before this value is used.
This assignment to 'cgradk' is unnecessary as it is
redefined
before this value is used.
cgradk = np.zeros_like(x_k)
gradk_1_best = np.zeros_like(x_k)
cgradk_1_best = np.zeros_like(x_k)
gradk_1_tmp = np.zeros_like(x_k)

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'gradk_1_tmp' is unnecessary as it is
redefined
before this value is used.
gradk_1_best = np.zeros_like(x_k)
cgradk_1_best = np.zeros_like(x_k)
gradk_1_tmp = np.zeros_like(x_k)
cgradk_1_tmp = np.zeros_like(x_k)

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'cgradk_1_tmp' is unnecessary as it is
redefined
before this value is used.
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

Attention: Patch coverage is 91.29944% with 77 lines in your changes missing coverage. Please review.

Project coverage is 85.41%. Comparing base (a62220f) to head (f89ee1b).
Report is 92 commits behind head on main.

Files with missing lines Patch % Lines
...tacks/evasion/rescaling_auto_conjugate_gradient.py 87.11% 20 Missing and 22 partials ⚠️
...n/steal_now_attack_later/steal_now_attack_later.py 95.30% 7 Missing and 13 partials ⚠️
...cks/evasion/steal_now_attack_later/drop_block2d.py 75.00% 2 Missing and 2 partials ⚠️
...mators/object_detection/pytorch_object_detector.py 62.50% 2 Missing and 1 partial ⚠️
...ion/adversarial_patch/adversarial_patch_pytorch.py 85.71% 0 Missing and 2 partials ⚠️
art/attacks/evasion/auto_attack.py 66.66% 1 Missing and 1 partial ⚠️
art/defences/detector/evasion/beyond_detector.py 97.01% 1 Missing and 1 partial ⚠️
...ion/imperceptible_asr/imperceptible_asr_pytorch.py 50.00% 1 Missing ⚠️
art/estimators/classification/classifier.py 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2538       +/-   ##
===========================================
+ Coverage   53.37%   85.41%   +32.04%     
===========================================
  Files         658      334      -324     
  Lines       60292    31001    -29291     
  Branches    10274     5300     -4974     
===========================================
- Hits        32183    26481     -5702     
+ Misses      26452     3053    -23399     
+ Partials     1657     1467      -190     
Files with missing lines Coverage Δ
art/attacks/evasion/__init__.py 100.00% <100.00%> (+1.72%) ⬆️
art/attacks/evasion/saliency_map.py 100.00% <100.00%> (ø)
...attacks/evasion/steal_now_attack_later/bbox_ioa.py 100.00% <100.00%> (ø)
art/defences/detector/evasion/__init__.py 100.00% <100.00%> (ø)
...ation/randomized_smoothing/randomized_smoothing.py 97.33% <100.00%> (+0.03%) ⬆️
art/estimators/classification/pytorch.py 86.45% <ø> (ø)
art/estimators/object_detection/pytorch_yolo.py 87.23% <ø> (+61.70%) ⬆️
art/estimators/regression/pytorch.py 14.20% <ø> (ø)
art/utils.py 79.57% <100.00%> (+1.32%) ⬆️
...ion/imperceptible_asr/imperceptible_asr_pytorch.py 86.25% <50.00%> (+78.43%) ⬆️
... and 8 more

... and 347 files with indirect coverage changes

beat-buesser and others added 4 commits December 17, 2024 23:03
Signed-off-by: Beat Buesser <beat.buesser@ibm.com>
Signed-off-by: Beat Buesser <beat.buesser@ibm.com>
Fix bug in random sampling of patch locations in masks for adversarial patch attacks
@beat-buesser beat-buesser merged commit b66a8a9 into main Dec 20, 2024
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Releases of ART
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants