-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathconfig_sync.json
83 lines (83 loc) · 1.74 KB
/
config_sync.json
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
78
79
80
81
82
83
{
"wandb": {
"enabled": false,
"project": "FedAvg",
"name": "1"
},
"global": {
"use_file_system": false,
"multi_gpu": true,
"experiment": "FedAvg/1",
"stale": {
"step": 1,
"shuffle": true,
"list": [10, 10, 10, 5, 5, 5, 5]
},
"dataset": {
"path": "dataset.FashionMNIST.FashionMNIST",
"params": {}
},
"iid": true,
"client_num": 50
},
"server": {
"path": "server.NormalServer.NormalServer",
"epochs": 1,
"model": {
"path": "model.CNN.CNN",
"params": {}
},
"scheduler": {
"path": "scheduler.SyncScheduler.SyncScheduler",
"schedule": {
"path": "schedule.RandomSchedule.RandomSchedule",
"params": {
"c_ratio": 0.3
}
}
},
"updater": {
"path": "updater.SyncUpdater.SyncUpdater",
"loss": "torch.nn.functional.cross_entropy",
"update": {
"path": "update.FedAvg.FedAvg",
"params": {
}
}
}
},
"queue_manager": {
"path": "queuemanager.SingleQueueManager.SingleQueueManager",
"receiver": {
"path": "receiver.NormalReceiver.NormalReceiver",
"params": {
}
},
"checker": {
"path": "checker.SyncChecker.SyncChecker",
"params": {
}
}
},
"client_manager": {
"path": "clientmanager.NormalClientManager.NormalClientManager"
},
"client": {
"path": "client.NormalClient.NormalClient",
"epochs": 2,
"batch_size": 64,
"model": {
"path": "model.CNN.CNN",
"params": {}
},
"loss": "torch.nn.functional.cross_entropy",
"mu": 0,
"optimizer": {
"path": "torch.optim.SGD",
"params": {
"lr": 0.01,
"weight_decay": 0
}
}
}
}