瀏覽代碼

fix: test

shellmiao 11 月之前
父節點
當前提交
e98ce2b751
共有 1 個文件被更改,包括 1 次插入1 次删除
  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: