|
@@ -945,14 +945,14 @@ def video_sank_pos_rank(data, size, top_K, flow_pool_P, ab_Code='', exp_config=N
|
|
|
else:
|
|
|
recall_dict['return_video_recall'] = return_video_recall
|
|
|
|
|
|
- recall_pos1 = [('rov_recall_region_h',0.98),('rov_recall_24h',0.02),('rov_recall_region_24h',1),
|
|
|
- ('rov_recall_24h',1),('rov_recall_24h_dup',1)]
|
|
|
- recall_pos2 = [('rov_recall_region_h',0.98),('rov_recall_24h',0.02),('rov_recall_region_24h',1),
|
|
|
- ('rov_recall_24h',1),('rov_recall_24h_dup',1)]
|
|
|
- recall_pos3 = [('rov_recall_region_h', 0.98), ('rov_recall_24h', 0.02), ('rov_recall_region_24h', 1),
|
|
|
- ('rov_recall_24h', 1), ('rov_recall_24h_dup', 1)]
|
|
|
- recall_pos4 = [('rov_recall_region_h', 0.98), ('rov_recall_24h', 0.02), ('rov_recall_region_24h', 1),
|
|
|
- ('rov_recall_24h', 1), ('rov_recall_24h_dup', 1)]
|
|
|
+ recall_pos1 = [('rov_recall_region_h',0, 0.98),('rov_recall_24h',0.98, 1),('rov_recall_region_24h',0,1),
|
|
|
+ ('rov_recall_24h',0,1), ('rov_recall_24h_dup',0,1)]
|
|
|
+ recall_pos2 = [('rov_recall_region_h',0,0.98),('rov_recall_24h',0.98,1),('rov_recall_region_24h',0,1),
|
|
|
+ ('rov_recall_24h',0,1),('rov_recall_24h_dup',0,1)]
|
|
|
+ recall_pos3 = [('rov_recall_region_h', 0,0.98), ('rov_recall_24h', 0.98,1), ('rov_recall_region_24h', 0,1),
|
|
|
+ ('rov_recall_24h', 0,1), ('rov_recall_24h_dup', 0,1)]
|
|
|
+ recall_pos4 = [('rov_recall_region_h', 0,0.98), ('rov_recall_24h', 0,0.02), ('rov_recall_region_24h', 0,1),
|
|
|
+ ('rov_recall_24h', 0,1), ('rov_recall_24h_dup', 0,1)]
|
|
|
if exp_config and 'recall_pos1' in exp_config \
|
|
|
and 'recall_pos2' in exp_config \
|
|
|
and 'recall_pos3' in exp_config \
|
|
@@ -1010,7 +1010,7 @@ def video_sank_pos_rank(data, size, top_K, flow_pool_P, ab_Code='', exp_config=N
|
|
|
exp_recall_dict[per_recall_name] = 1
|
|
|
index_pos = 1
|
|
|
break
|
|
|
- #print("rov_recall_rank:", rov_recall_rank)
|
|
|
+ print("rov_recall_rank:", rov_recall_rank)
|
|
|
if len(rov_recall_rank)<4:
|
|
|
rov_doudi_rank = region_h_recall_rank + sim_recall + u2i_recall + u2u2i_recall + w2v_recall +return_video_recall+ region_24h_recall_rank + rule_24h_recall_rank + rule_24h_dup_recall_rank
|
|
|
for recall_item in rov_doudi_rank:
|