Assume the ImageNet-1k dataset is available at /home/Datasets/ILSVRC2015/Data/CLS-LOC. It can be reconfigured in the timm_validate, img_cls_attack_batch_run, and img_cls_attack.
Check and change configurations param_grid in img_cls_attack_batch_run
./main_run.sh- model_under_attack.py: wrap timm models
- attacher_rising.py: implement the RisingAttacK method
- attacker_quad.py: implement the QuadAttacK method