Harry24k / adversarial-attacks-pytorch

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

Update attack.py #151

Closed jun981015 closed 1 year ago

jun981015 commented 1 year ago

Fix attack._check_inputs when don't nomalization to input

PR Type and Checklist

What kind of change does this PR introduce?

rikonaka commented 1 year ago

Hello @jun981015 , I don't quite understand what the purpose of this else is?