This repository contains the official PyTorch implementation of GeoDA algorithm described in [1]. GeoDA is a Black-box attack to generate adversarial example for image classifiers.
To execute the code, please make sure that the following packages are installed:
- Foolbox
- NumPy
- PyTorch and Torchvision (install with CUDA if available)
- matplotlib
This function implements the GeoDA algorithm.
Includes general functions
Contains some examples for the demos.
[1] Ali Rahmati, Seyed-Mohsen Moosavi-Dezfooli, Pascal Frossard, and Huaiyu Dai, GeoDA: a geometric framework for black-box adversarial attacks. in CVF/IEEE Computer Vision and Pattern Recognition (CVPR'20), 2020. [arXiv pre-print]