|
@@ -155,6 +155,7 @@ class FedSSLWithPgFedClient(FedSSLClient):
|
|
def set_prev_mean_grad(self, mean_grad):
|
|
def set_prev_mean_grad(self, mean_grad):
|
|
if self.prev_mean_grad is None:
|
|
if self.prev_mean_grad is None:
|
|
print("initing prev_mean_grad")
|
|
print("initing prev_mean_grad")
|
|
|
|
+ print(mean_grad)
|
|
self.prev_mean_grad = copy.deepcopy(mean_grad)
|
|
self.prev_mean_grad = copy.deepcopy(mean_grad)
|
|
else:
|
|
else:
|
|
print("setting prev_mean_grad")
|
|
print("setting prev_mean_grad")
|