ddkang / advex-uar

Code for "Testing Robustness Against Unforeseen Adversaries"
Apache License 2.0
80 stars 15 forks source link

Fix Gabor attack for PyTorch >=1.7 (#5) #9

Closed cassidylaidlaw closed 2 years ago

cassidylaidlaw commented 2 years ago

I believe I've fixed the issues with the Gabor attack I raised in #5 with this PR, and it should still work with older PyTorch versions.

cassidylaidlaw commented 2 years ago

No problem! Any chance you could release a new version on PyPI with this fix?

ddkang commented 2 years ago

This should be done, but please let me know if there are any issues

cassidylaidlaw commented 2 years ago

Was able to download the new version and it seems to be working so far! Thank you.