Crafting Adversarial Examples with PyTorch
craft.py
- Contains crafting algorithms such as Fast Gradient Sign Method (FGSM) and Jacobian-based Saliency Map Approach (JSMA)
train_mnist.py
- Train a model with the original MNIST- `craft_mnist_fgsm.py' - Craft adversarial exmaples by using FGSM