-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_lr_tuning.sh
77 lines (56 loc) · 2.36 KB
/
run_lr_tuning.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
for att_key in {gaussian,lf,local}
do
for epsilon in {2,1,0.5,0.25,0.125}
do
for start_att in 0.0
do
for mal_worker_portion in 60
do
for seed in {1,2,3}
do
for anti_byz in 1
do
for non_iid in 0
do
for base_lr in {0.02,0.04,0.08,0.2,0.4,0.8,1}
do
python main.py --dataset mnist --att_key $att_key --epsilon $epsilon --DP_mode localDP --seed $seed --mal_worker_portion $mal_worker_portion --anti_byz $anti_byz --non_iid $non_iid --start_att $start_att --base_lr $base_lr
python main.py --dataset colorectal --att_key $att_key --epsilon $epsilon --DP_mode localDP --seed $seed --mal_worker_portion $mal_worker_portion --anti_byz $anti_byz --non_iid $non_iid --start_att $start_att --base_lr $base_lr
python main.py --dataset fashion --att_key $att_key --epsilon $epsilon --DP_mode localDP --seed $seed --mal_worker_portion $mal_worker_portion --anti_byz $anti_byz --non_iid $non_iid --start_att $start_att --base_lr $base_lr
python main.py --dataset usps --att_key $att_key --epsilon $epsilon --DP_mode localDP --seed $seed --mal_worker_portion $mal_worker_portion --anti_byz $anti_byz --non_iid $non_iid --start_att $start_att --base_lr $base_lr
done
done
done
done
done
done
done
done
for att_key in {gaussian,lf,local}
do
for epsilon in {2,1,0.5,0.25,0.125}
do
for start_att in 0.0
do
for mal_worker_portion in 60
do
for seed in {1,2,3}
do
for anti_byz in 1
do
for non_iid in 1
do
for base_lr in {0.02,0.04,0.08,0.2,0.4,0.8,1}
do
python main.py --dataset mnist --att_key $att_key --epsilon $epsilon --DP_mode localDP --seed $seed --mal_worker_portion $mal_worker_portion --anti_byz $anti_byz --non_iid $non_iid --start_att $start_att --base_lr $base_lr
python main.py --dataset colorectal --att_key $att_key --epsilon $epsilon --DP_mode localDP --seed $seed --mal_worker_portion $mal_worker_portion --anti_byz $anti_byz --non_iid $non_iid --start_att $start_att --base_lr $base_lr
python main.py --dataset fashion --att_key $att_key --epsilon $epsilon --DP_mode localDP --seed $seed --mal_worker_portion $mal_worker_portion --anti_byz $anti_byz --non_iid $non_iid --start_att $start_att --base_lr $base_lr
python main.py --dataset usps --att_key $att_key --epsilon $epsilon --DP_mode localDP --seed $seed --mal_worker_portion $mal_worker_portion --anti_byz $anti_byz --non_iid $non_iid --start_att $start_att --base_lr $base_lr
done
done
done
done
done
done
done
done