adversarial-robustness-public
Code for AAAI 2018 accepted paper: "Improving the Adversarial Robustness and Interpretability of Deep Neural Networks by Regularizing their Input Gradients"
File Explorer
Download Latest Version (.zip)- __init__.py
- mnist.py
- notmnist.py
- svhn.py
- __init__.py
- cnns.py
- dataset.py
- lecun_lcn.py
- neural_network.py
- plot_helpers.py
- score.py
- utils.py
- mnist-normal-fgsm-perturbation.npy
- notmnist-normal-fgsm-perturbation.npy
- svhn-normal-fgsm-perturbation.npy
- .gitkeep
- MNIST.ipynb
- notMNIST.ipynb
- SVHN.ipynb
- generate_jsma_grids.py
- generate_tgsm_grids.py
- tgsm_all.py
- train_all.py
- train_models.py
- .gitignore
- LICENSE
- README.md
- requirements.txt
- svhn-doubleback-eps0pt1.gif
# Installation Guide
1. Get the code
git clone https://github.com/dtak/adversarial-robustness-public
Downloads the entire project code from GitHub to your computer.
cd adversarial-robustness-public
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
jupyter notebook
Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.
If it runs without errors and prints output in the terminal, it worked.
// repository documentation
Was this content helpful?
(0 ratings)
