shellmiao il y a 11 mois
Parent
commit
8b8e5c5a59
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      applications/fedssl/client_with_pgfed.py

+ 2 - 0
applications/fedssl/client_with_pgfed.py

@@ -24,6 +24,8 @@ L2 = "l2"
 
 def model_dot_product(w1, w2, requires_grad=True):
     """ Return the sum of squared difference between two models. """
+    print(w1)
+    print(w2)
     dot_product = 0.0
     for p1, p2 in zip(w1.parameters(), w2.parameters()):
         if requires_grad: