fra31 / auto-attack

Code relative to "Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks"
https://arxiv.org/abs/2003.01690
MIT License
639 stars 111 forks source link

update for pytorch 1.9.0, add zero_gradients function #60

Closed Topology1225 closed 3 years ago

Topology1225 commented 3 years ago

close #59

Please review my code and merge this pull request.

fra31 commented 3 years ago

Hi,

thanks for letting me know about this! I haven't tested the attacks with the PyTorch 1.9.0. I'll have a quick look, then merge.

fra31 commented 3 years ago

Great, thanks!