linfan 1 năm trước cách đây
mục cha
commit
c372b1f119
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      video_rank.py

+ 2 - 1
video_rank.py

@@ -740,7 +740,8 @@ def video_sanke_rank(data, size, top_K, flow_pool_P, ab_Code=''):
             per_recall_freq = per_recall_item[1]
             per_limt_num =  per_recall_item[2]
             #rand_num = random.random()
-            print("per_recall_item:", per_recall_name)
+            print("per_recall_item:", per_recall_name, "per_recall_freq:", per_recall_freq)
+            print(recall_dict[per_recall_freq])
             rand_num = 0.2
             if rand_num<per_recall_freq and per_recall_name in recall_dict:
                 per_recall = recall_dict[per_recall_name]