Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit 474d6f9

Browse files
committed
style(reconstruction): 更新
1 parent becee1e commit 474d6f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

py/linear_svm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ def add_hard_negatives(hard_negative_list, negative_list, add_negative_list):
9898
if add_negative_list is None:
9999
# 第一次添加负样本
100100
negative_list.append(item)
101-
add_negative_list.append(list(item['rect']))
101+
add_negative_list.append(item['rect'])
102102
if item['rect'] not in add_negative_list:
103103
negative_list.append(item)
104-
add_negative_list.append(list(item['rect'])
104+
add_negative_list.append(item['rect'])
105105

106106

107107
def get_hard_negatives(preds, cache_dicts):

0 commit comments

Comments
 (0)