未验证 提交 543ecb91 编写于 作者: W wangguanzhong 提交者: GitHub

fix idx in post_process (#4997)

上级 3d7d09f7
...@@ -99,7 +99,6 @@ class BBoxPostProcess(nn.Layer): ...@@ -99,7 +99,6 @@ class BBoxPostProcess(nn.Layer):
if bbox_num[i] == 0: if bbox_num[i] == 0:
bboxes_i = self.fake_bboxes bboxes_i = self.fake_bboxes
bbox_num_i = self.fake_bbox_num bbox_num_i = self.fake_bbox_num
id_start += 1
else: else:
bboxes_i = bboxes[id_start:id_start + bbox_num[i], :] bboxes_i = bboxes[id_start:id_start + bbox_num[i], :]
bbox_num_i = bbox_num[i] bbox_num_i = bbox_num[i]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册