Selaa lähdekoodia

多样性需求

zhangbo 1 vuosi sitten
vanhempi
commit
4cf0834169
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      video_rank.py

+ 2 - 0
video_rank.py

@@ -1495,7 +1495,9 @@ def merge_density_control(
                 continue
             # 开始插入
             tmp = copy.deepcopy(data[index])
+            d["density_up"] = i
             data[index] = d
+            tmp["density_down"] = index
             candidate[i] = tmp
             # 更新状态
             for tag in tags: