-
Notifications
You must be signed in to change notification settings - Fork 1
/
eval_ties_merging.sh
11 lines (8 loc) · 1.02 KB
/
eval_ties_merging.sh
1
2
3
4
5
6
7
8
9
10
11
CUDA_VISIBLE_DEVICES=0 python3 src/main_ties_merging_badmergingon.py --attack-type 'Clean' --adversary-task '' --target-task 'CIFAR100' \
--target-cls 1 --patch-size 22 --alpha 5 --test-utility --test-effectiveness True # clean-on
CUDA_VISIBLE_DEVICES=0 python3 src/main_ties_merging_badmergingon.py --attack-type 'On' --adversary-task 'CIFAR100' --target-task 'CIFAR100' \
--target-cls 1 --patch-size 22 --alpha 5 --test-utility --test-effectiveness True # badmerging-on
CUDA_VISIBLE_DEVICES=0 python3 src/main_ties_merging_badmergingoff.py --attack-type 'Clean' --adversary-task '' --target-task 'Cars' \
--target-cls 1 --patch-size 28 --alpha 5 --test-utility --test-effectiveness True --num-shadow-data 10 --num-shadow-classes 300 # clean-off
CUDA_VISIBLE_DEVICES=0 python3 src/main_ties_merging_badmergingoff.py --attack-type 'Off' --adversary-task 'CIFAR100' --target-task 'Cars' \
--target-cls 1 --patch-size 28 --alpha 5 --test-utility --test-effectiveness True --num-shadow-data 10 --num-shadow-classes 300 # badmerging-off