Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

ZOADAM

To download the inception model:

python3 setup_inception.py

To prepare the ImageNet dataset, download and unzip the following archive:

ImageNet Test Set

and put the imgs folder in ../imagesnetdata. This path can be changed in setup_inception.py.

To train cifar model: run

python3 train_model.py

Universal attack:

run

python3 universal.py 

You can change methods or any hyperparameter in args.

Single image attack on cifar:

run

python3 Main_exp1.py

Attack on imagenet for multiple images:

run

python3 imagenet_blackBox_attack2.py

About

Code for paper 'ZO-AdaMM: Zeroth-Order Adaptive MomentumMethod for Black-Box Optimization'

Resources

Releases

No releases published

Packages

No packages published

Languages