We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac061d7 commit f1e84ebCopy full SHA for f1e84eb
1 file changed
fl.py
@@ -25,8 +25,8 @@ def model_fn():
25
26
for epoch in range(nb_epochs):
27
print("Global Epoch {0} is starting".format(epoch))
28
- server.create_clients()
29
server.init_for_new_epoch()
+ server.create_clients()
30
31
for client in server.clients:
32
print("Client {0} is starting the training".format(client.id))
@@ -44,7 +44,7 @@ def model_fn():
44
epoch_mean_loss = np.mean(server.epoch_losses)
45
server.global_losses.append(epoch_mean_loss)
46
print("Loss (mean): {0}".format(server.global_losses[-1]))
47
-
+
48
print("-" * 30)
49
50
# TODO: test the base model with the aggregated weights
0 commit comments