accelerate==0.12
einops==0.4.1
kornia==0.6.4
pytorch==1.11.0
torchvision==0.12.0
yacs==0.1.8
tqdm==4.64.0
scipy==1.9.1
gdown==4.5.1
Download Market1501 and DukeMTMC put in datasets/market1501 and datasets/dukemtmc-reid respectively.
Download the pretrained weights from there and put it in model_weights according to the directory structure.
run Query UAP attack: bash ./scripts/query_uap_run.sh
run DITIM attack: bash ./scripts/ditim_run.sh
run MUAP attack: bash ./scripts/muap_run.sh
run Bandits attack: bash ./scripts/bandits_run.sh
run Bandits UAP attack: bash ./scripts/bandits_uap_run.sh