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

Support numpy arrays in logger of clean_label_backdoor_attack #1698

Merged
merged 2 commits into from
May 18, 2022

Conversation

beat-buesser
Copy link
Collaborator

Signed-off-by: Beat Buesser beat.buesser@ie.ibm.com

Description

This pull request adds support for numpy arrays in the logger of clean_label_backdoor_attack. Thank you @lcadalzo for the solution!

Fixes #1697

Type of change

Please check all relevant options.

  • Improvement (non-breaking)
  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Signed-off-by: Beat Buesser <beat.buesser@ie.ibm.com>
@beat-buesser beat-buesser self-assigned this May 16, 2022
@beat-buesser beat-buesser linked an issue May 16, 2022 that may be closed by this pull request
@beat-buesser beat-buesser added bug Something isn't working improvement Improve implementation labels May 16, 2022
@beat-buesser beat-buesser added this to the ART 1.10.2 milestone May 16, 2022
@codecov-commenter
Copy link

codecov-commenter commented May 16, 2022

Codecov Report

Merging #1698 (8448ec2) into dev_1.10.2 (af9bf9c) will decrease coverage by 0.55%.
The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##           dev_1.10.2    #1698      +/-   ##
==============================================
- Coverage       88.04%   87.49%   -0.56%     
==============================================
  Files             259      259              
  Lines           21398    21552     +154     
  Branches         3800     3834      +34     
==============================================
+ Hits            18840    18857      +17     
- Misses           1607     1746     +139     
+ Partials          951      949       -2     
Impacted Files Coverage Δ
...t/attacks/poisoning/clean_label_backdoor_attack.py 89.74% <ø> (ø)
art/attacks/evasion/carlini.py 74.25% <0.00%> (-20.41%) ⬇️
art/attacks/evasion/boundary.py 92.77% <0.00%> (-1.21%) ⬇️
...rt/defences/detector/poison/clustering_analyzer.py 97.46% <0.00%> (+2.53%) ⬆️

Signed-off-by: Beat Buesser <beat.buesser@ie.ibm.com>
@beat-buesser beat-buesser merged commit c736e39 into dev_1.10.2 May 18, 2022
@beat-buesser beat-buesser deleted the development_issue_1697 branch May 18, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working improvement Improve implementation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error during warning message for clean_label_backdoor_attack
3 participants