Skip to content

Commit 9d3d42e

Browse files
jerrywgzwangxinxin08
authored andcommitted
fix idx in post_process (PaddlePaddle#4996)
1 parent 2f82626 commit 9d3d42e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ppdet/modeling/post_process.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ def get_pred(self, bboxes, bbox_num, im_shape, scale_factor):
100100
if bbox_num[i] == 0:
101101
bboxes_i = fake_bboxes
102102
bbox_num_i = fake_bbox_num
103-
id_start += 1
104103
else:
105104
bboxes_i = bboxes[id_start:id_start + bbox_num[i], :]
106105
bbox_num_i = bbox_num[i]

0 commit comments

Comments
 (0)