-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_fedall_one_shot.sh
49 lines (44 loc) · 1.99 KB
/
run_fedall_one_shot.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
#!/usr/bin/bash
# test fedall_one_shot average
# python main.py --optimizer 'fedall_one_shot' \
# --client_nums 10 \
# --dataset 'cifar10' \
# --part_method 'iid' \
# --model 'nn_fedall_average' \
# --model_source './tensorboard_logs/fedall/cifar_200r/fedavg/model.stat' \
# './tensorboard_logs/fedall/cifar_200r/fedprox_mu0.1/model.stat' \
# --model_type 'nn_cifar' 'nn_cifar'
# test fedall_one_shot max
# python main.py --optimizer 'fedall_one_shot' \
# --client_nums 10 \
# --dataset 'cifar10' \
# --part_method 'iid' \
# --model 'nn_fedall_max' \
# --model_source './tensorboard_logs/fedall/cifar_200r/fedavg/model.stat' \
# './tensorboard_logs/fedall/cifar_200r/fedprox_mu0.1/model.stat' \
# --model_type 'nn_cifar' 'nn_cifar'
# test fedall_identity
# python main.py --optimizer 'fedall_one_shot' \
# --client_nums 100 \
# --dataset 'cifar10' \
# --part_method 'iid' \
# --model 'nn_fedall_identity' \
# --model_source './tensorboard_logs/fedall/cifar_2000r/fedavg/model.stat' \
# --model_type 'nn_cifar'
# test for mnist
# python main.py --optimizer 'fedall_one_shot' \
# --client_nums 1 \
# --dataset 'mnist' \
# --part_method 'iid' \
# --model 'nn_fedall_identity' \
# --model_source './tensorboard_logs/fedall/fedprox/C2_r2000_mu1/model.stat' \
# --model_type 'nn_mnist'
# test fedall
# python main.py --optimizer 'fedall_one_shot' \
# --client_nums 1 \
# --dataset 'mnist' \
# --part_method 'iid' \
# --model 'nn_fedall_max' \
# --model_source './tensorboard_logs/fedall/fedprox/C2_r2000_mu1/model.stat' \
# './tensorboard_logs/fedall/fedavg/C2_r2000/model.stat' \
# --model_type 'nn_mnist' 'nn_mnist'