소스 검색

video rank

linfan 1 년 전
부모
커밋
cf1f5d18aa
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      video_rank.py

+ 2 - 1
video_rank.py

@@ -665,8 +665,9 @@ def video_new_rank2(data, size, top_K, flow_pool_P, ab_code, mid, exp_config=Non
                             if len(video_score_str)>= sort_index and  len(video_score_str)>0:
                                 return_score = video_score_str[sort_index]
                             total_score = return_score * score_result[i][0]
+                            print("total_score:", total_score, " model score :", score_result[i][0], "return_score:",
+                                  return_score)
                         rec_recall_item_list[i]['sort_score'] = total_score
-                        print("total_score:", total_score, " model score :", score_result[i][0], "return_score:", return_score)
                 except Exception as e:
                     print('exception: {}:', e)
                     if sort_index == 10: