-
Notifications
You must be signed in to change notification settings - Fork 2
/
run.sh
40 lines (39 loc) · 775 Bytes
/
run.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
for i in 0
do
python experiments.py --model=vgg-9 \
--dataset=cifar10 \
--alg=fedconcat \
--lr=0.01 \
--batch-size=64 \
--epochs=10 \
--n_parties=40 \
--rho=0.9 \
--encoder_round=50 \
--classifier_round=1000 \
--n_clusters=5 \
--partition=noniid-#label2 \
--beta=0.5\
--device='cuda:3'\
--datadir='./data/' \
--logdir='./logs/' \
--noise=0\
--init_seed=$i
python experiments.py --model=vgg-9 \
--dataset=cifar10 \
--alg=fedconcat \
--lr=0.01 \
--batch-size=64 \
--epochs=10 \
--n_parties=40 \
--rho=0.9 \
--encoder_round=50 \
--classifier_round=1000 \
--n_clusters=5 \
--partition=noniid-labeldir \
--beta=0.5\
--device='cuda:3'\
--datadir='./data/' \
--logdir='./logs/' \
--noise=0\
--init_seed=$i
done