- python 3.8.18
- torch 2.1.0
- torchvision 0.16.0
The ImageNet-compatible dataset is from https://github.com/cleverhans-lab/cleverhans/tree/master/cleverhans_v3.1.0/examples/nips17_adversarial_competition/dataset. You can put the data in './dataset'
- Generate the adversarial examples with our proposed Selfmix:
python attack.py