momo1986 / GeodesicAdversarialTraining

An implementation of the work "Enhance Adversarial Robustness via Geodesic Distance"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GeodesicAdversarialTraining

  • To run the Geodesic Adversarial Training
python GeodesicAT.py --net 'WRN'
python GeodesicAT.py --net 'resnet18'
  • To run the evaluation program
python evaluate_attacks.py --model-path ${MODEL-PATH} --attack-method FGSM --dataset cifar10 (or cifar100)

About

An implementation of the work "Enhance Adversarial Robustness via Geodesic Distance"


Languages

Language:Python 100.0%