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 338 forks source link

clamp methods #39

Closed rbc31 closed 2 years ago

rbc31 commented 2 years ago

Adds clamp methods so the code can work with images that are not just in the range 0-1

rbc31 commented 2 years ago

Close as I see in the readme, you dont want clamping