linfan преди 1 година
родител
ревизия
b302ec5bd4
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      video_rank.py

+ 2 - 2
video_rank.py

@@ -721,8 +721,8 @@ def video_sanke_rank(data, size, top_K, flow_pool_P, ab_Code='', exp_config=None
     """
     if not data['rov_pool_recall'] and not data['flow_pool_recall'] \
             and not data['u2i_recall'] and not data['u2i_recall'] \
-            and not data['u2i_recall'] and not data['u2i_recall'] \
-            and not data['u2i_recall'] and not data['u2i_recall']:
+            and not data['w2v_recall'] and not data['w2v_recall'] \
+            and not data['sim_recall'] and not data['sim_recall']:
         return [], 0
     # 地域分组小时级规则更新数据
     recall_dict = {}