Harry24k / adversarial-attacks-pytorch

PyTorch implementation of adversarial attacks [torchattacks].
https://adversarial-attacks-pytorch.readthedocs.io/en/latest/index.html
MIT License
1.79k stars 337 forks source link

Fix EAD target attack #140

Closed rikonaka closed 1 year ago

rikonaka commented 1 year ago

PR Type and Checklist

What kind of change does this PR introduce?

codecov-commenter commented 1 year ago

Codecov Report

Merging #140 (aa14f63) into master (e50ba8d) will increase coverage by 0.36%. The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #140      +/-   ##
==========================================
+ Coverage   72.27%   72.63%   +0.36%     
==========================================
  Files          42       42              
  Lines        3747     3691      -56     
  Branches      541      522      -19     
==========================================
- Hits         2708     2681      -27     
+ Misses        876      856      -20     
+ Partials      163      154       -9     
Impacted Files Coverage Δ
torchattacks/attacks/eaden.py 97.60% <100.00%> (+0.58%) :arrow_up:
torchattacks/attacks/eadl1.py 97.60% <100.00%> (+2.01%) :arrow_up:
torchattacks/attacks/spsa.py 91.95% <100.00%> (+17.97%) :arrow_up:

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e50ba8d...aa14f63. Read the comment docs.

Harry24k commented 1 year ago

Thanks a lot! Now EAD works well 😃

rikonaka commented 1 year ago

Thanks a lot! Now EAD works well 😃

천만에요 😜