Kaynağa Gözat

update video

linfan 1 yıl önce
ebeveyn
işleme
4a82910146
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      video_rank.py

+ 1 - 1
video_rank.py

@@ -646,7 +646,7 @@ def video_new_rank2(data, size, top_K, flow_pool_P, ab_code, mid, exp_config=Non
                         rec_recall_item_list[i]['sort_score'] = total_score
                     else:
                         video_score_str = json.loads(video_scores[i])
-                        return_score = video_score_str[3]
+                        return_score = video_score_str[0]
                         print("return_score:", return_score, "score:", score_result[i][0])
                         total_score = return_score * score_result[i][0]
                         rec_recall_item_list[i]['sort_score'] = total_score