linfan 1 year ago
parent
commit
cb66329cf4
1 changed files with 0 additions and 1 deletions
  1. 0 1
      recommend.py

+ 0 - 1
recommend.py

@@ -331,7 +331,6 @@ def video_recommend(request_id, mid, uid, size, top_K, flow_pool_P, app_type, al
         #print("test config:",test_config)
         rank_result, flow_num = video_sanke_rank(data=data, size=size, top_K=top_K, flow_pool_P=float(flow_pool_P), ab_Code=ab_code, exp_config=test_config, flowConfig=flow_config)
         result['flow_num'] = flow_num
-        result['rank_num'] = len(rank_result)
         if rank_result:
             result['rank_num'] = len(rank_result)
     else: