advclip/run.sh

10 lines
468 B
Bash

#!/bin/bash
set -e
export https_proxy=http://127.0.0.1:7897 http_proxy=http://127.0.0.1:7897 all_proxy=socks5://127.0.0.1:7897
# CUDA_VISIBLE_DEVICES=0 python main.py --method CSQ --bit 32
# CUDA_VISIBLE_DEVICES=0 python main.py --method CSQ --bit 64
CUDA_VISIBLE_DEVICES=0 python main.py --victim ViT-B/16 --output-dim 512
CUDA_VISIBLE_DEVICES=0 python main.py --victim ViT-B/32 --output-dim 512
CUDA_VISIBLE_DEVICES=0 python main.py --victim RN101 --output-dim 512