Skip to content

Commit d26e22c

Browse files
author
Xinlei Chen
committed
clean up testing code.
1 parent becb347 commit d26e22c

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

.DS_Store

-6 KB
Binary file not shown.

data/.DS_Store

-6 KB
Binary file not shown.

lib/model/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def apply_nms(all_boxes, thresh):
124124
x2 = dets[:, 2]
125125
y2 = dets[:, 3]
126126
scores = dets[:, 4]
127-
inds = np.where((x2 > x1) & (y2 > y1) & (scores > cfg.TEST.DET_THRESHOLD))[0]
127+
inds = np.where((x2 > x1) & (y2 > y1))[0]
128128
dets = dets[inds,:]
129129
if dets == []:
130130
continue

0 commit comments

Comments
 (0)