|
@@ -113,7 +113,8 @@ class FedSSLWithPgFedServer(FedSSLServer):
|
|
|
self.uploaded_ids.append(client.id)
|
|
|
self.alpha_mat[client.id] = client.a_i
|
|
|
self.uploaded_grads[client.id] = client.latest_grad
|
|
|
- self.loss_minuses[client.id] = client.loss_minus * self.mu
|
|
|
+ print("client.loss_minus:",client.loss_minus)
|
|
|
+ self.loss_minuses[client.id] = client.loss_minus
|
|
|
|
|
|
def get_mean_grad(self):
|
|
|
w = self.mu/self.conf.server.clients_per_round
|