From 0c2f474fda9bac93778127dce5a761eb3547f703 Mon Sep 17 00:00:00 2001 From: wangguanzhong Date: Fri, 24 Dec 2021 16:15:47 +0800 Subject: [PATCH] fix idx in post_process (#4996) --- ppdet/modeling/post_process.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ppdet/modeling/post_process.py b/ppdet/modeling/post_process.py index 099765e33..765e05fbf 100644 --- a/ppdet/modeling/post_process.py +++ b/ppdet/modeling/post_process.py @@ -100,7 +100,6 @@ class BBoxPostProcess(nn.Layer): if bbox_num[i] == 0: bboxes_i = fake_bboxes bbox_num_i = fake_bbox_num - id_start += 1 else: bboxes_i = bboxes[id_start:id_start + bbox_num[i], :] bbox_num_i = bbox_num[i] -- GitLab