Przeglądaj źródła

update video rank

linfan 1 rok temu
rodzic
commit
8db6576989
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      video_rank.py

+ 1 - 1
video_rank.py

@@ -746,7 +746,7 @@ def sup_rank(data, pre_str, recall_list, rov_recall_rank):
     video_scores = redisObj.get_batch_key(vidKeys)
     print("vidKeys:", video_scores, "\t", vidKeys)
     print(len(video_scores), len(recall_list))
-    if video_scores and len(recall_list) > 0 and len(video_scores) == len(recall_list):
+    if video_scores and len(recall_list) > 0:
         for i in range(len(video_scores)):
             try:
                 if video_scores[i] is None: