shellmiao 11 meses atrás
pai
commit
e98ce2b751
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      applications/fedssl/client_with_pgfed.py

+ 1 - 1
applications/fedssl/client_with_pgfed.py

@@ -95,7 +95,7 @@ class FedSSLWithPgFedClient(FedSSLClient):
         
         # delete later
         all_grads_none = True
-        for p in zip(self.model.parameters()):
+        for p in self.model.parameters():
             if p.grad is not None:
                 all_grads_none = False
         if all_grads_none: