diff --git a/ppdet/modeling/post_process.py b/ppdet/modeling/post_process.py index 30ebe80297b3caf28bb2a1b8285ebdfb23839631..01080c8fff71a0d872efec5879ac21feb5691932 100644 --- a/ppdet/modeling/post_process.py +++ b/ppdet/modeling/post_process.py @@ -99,7 +99,6 @@ class BBoxPostProcess(nn.Layer): if bbox_num[i] == 0: bboxes_i = self.fake_bboxes bbox_num_i = self.fake_bbox_num - id_start += 1 else: bboxes_i = bboxes[id_start:id_start + bbox_num[i], :] bbox_num_i = bbox_num[i]