Kaynağa Gözat

add debug info

often 4 ay önce
ebeveyn
işleme
d88c9c0d12

+ 3 - 3
recommend-model-produce/src/main/python/models/dssm/static_model.py

@@ -57,9 +57,9 @@ class StaticModel():
             left_features, right_features = input
         else:
             label,left_features, right_features = input
-            #paddle.static.Print(left_features, message="lqc left data feature shape:")
-            #paddle.static.Print(right_features, message="lqc right data feature shape:")
-            #paddle.static.Print(label, message="lqc label feature shape:")
+            paddle.static.Print(left_features, message="lqc left data feature shape:")
+            paddle.static.Print(right_features, message="lqc right data feature shape:")
+            paddle.static.Print(label, message="lqc label feature shape:")
 
         # 获取相似度和特征向量
         sim_score, left_vec, right_vec = dssm_model(left_features, right_features)