# Adversarial attacks

We build our implementation upon the code from the Github repository `https://github.com/Harry24k/adversarial-attacks-pytorch/blob/master/torchattacks/attacks/pgd.py`, by adapting its projected gradient attacks to the algorithms in our paper. To reproduce the figures from our paper, run the notebooks `White-Box Attacks on CIFAR10.ipynb` and `Black-Box Attacks on CIFAR10.ipynb` (you will need to specify a data directory where to store the model and dataset, at the placeholder `provide_some_data_directory_here` in the notebook).