/Robustness-Analysis-FAN-ViT

A robustness analysis of FAN ViT models using standard adversarial attacks. This repository is the official implementation of the following paper- https://arxiv.org/abs/2306.05495

Primary LanguagePython

Robustness-Analysis-FAN-ViT

A robustness analysis of FAN ViT models using standard adversarial attacks

Dataset Setup :

Running the Code :

  1. conda create -n <env_name> python=3.9 anaconda
  2. conda activate <env_name>
  3. pip install -r requirements.txt
  4. pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
  5. python run_imagenet.py