未验证 提交 0c2f474f 编写于 作者: W wangguanzhong 提交者: GitHub

fix idx in post_process (#4996)

上级 4ab7c7c0
...@@ -100,7 +100,6 @@ class BBoxPostProcess(nn.Layer): ...@@ -100,7 +100,6 @@ class BBoxPostProcess(nn.Layer):
if bbox_num[i] == 0: if bbox_num[i] == 0:
bboxes_i = fake_bboxes bboxes_i = fake_bboxes
bbox_num_i = fake_bbox_num bbox_num_i = 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.
先完成此消息的编辑!
想要评论请 注册