shellmiao 1 год назад
Родитель
Сommit
8b8e5c5a59
1 измененных файлов с 2 добавлено и 0 удалено
  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: