Browse Source

update add control

linfan 1 year ago
parent
commit
71bb032b23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      video_rank.py

+ 1 - 1
video_rank.py

@@ -983,7 +983,7 @@ def video_sank_pos_rank(data, size, top_K, flow_pool_P, ab_Code='', exp_config=N
             index_pos +=1
             # choose pos recall
             for per_recall_item in recall_pos_config:
-                if index_pos >= len(rov_recall_rank):
+                if index_pos <= len(rov_recall_rank):
                     break
                 per_recall_name = per_recall_item[0]
                 per_recall_freq = per_recall_item[1]