-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathscalability_scaffold.sh
More file actions
36 lines (34 loc) · 998 Bytes
/
scalability_scaffold.sh
File metadata and controls
36 lines (34 loc) · 998 Bytes
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
for p in 20 30 40
do
for t in 1 2 3
do
python experiments.py --model=simple-cnn \
--dataset=cifar10 \
--partition=noniid-#label3 \
--alg=scaffold \
--n_parties=$p \
--logdir='./logs/scaffold'\
--device='cuda:0'\
--time=$t \
--init_seed=$t \
python experiments.py --model=simple-cnn \
--dataset=mnist \
--partition=noniid-#label3 \
--alg=scaffold \
--n_parties=$p \
--logdir='./logs/scaffold'\
--device='cuda:0'\
--time=$t \
--init_seed=$t \
python experiments.py --model=simple-cnn \
--dataset=fmnist \
--partition=noniid-#label3 \
--alg=scaffold \
--n_parties=$p \
--logdir='./logs/scaffold'\
--device='cuda:0'\
--time=$t \
--init_seed=$t \
done
done
done