Forráskód Böngészése

Merge branch 'master_2023_06_19' into test

linfan 1 éve
szülő
commit
51a7e6e7a5
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      video_rank.py
  2. 1 1
      video_recall.py

+ 1 - 1
video_rank.py

@@ -987,7 +987,7 @@ def video_sank_pos_rank(data, size, top_K, flow_pool_P, ab_Code='', exp_config=N
                         vid = recall_item['videoId']
                         if vid in select_ids:
                             continue
-                        recall_item['rand'] = rand_num
+                        #recall_item['rand'] = rand_num
                         rov_recall_rank.append(recall_item)
                         select_ids.add(vid)
                         if per_recall_name in exp_recall_dict:

+ 1 - 1
video_recall.py

@@ -2643,7 +2643,7 @@ class PoolRecall(object):
             return None
 
     def get_U2I_config(self):
-        recall_key = "u2i_exp_config_pos1"
+        recall_key = "u2i_exp_config_pos"
         data = self.redis_helper.get_data_from_redis(key_name=recall_key)
         if data is not None:
             try: