The code in this repository accompanies the experiments performed in the paper Stability and Generalization in Free Adversarial Training by Xiwei Cheng, Kexin Fu, and Farzan Farnia.
To adversarially train a ResNet-18 model against
python train.py --data cifar10 --method free --attack L2 --eps 128.0 --model res18 --save_path cifar10_l2_free