提交 a4190e1b 编写于 作者: M MRXLT

fix blazepostprocess

上级 4f14b184
...@@ -317,7 +317,7 @@ class RCNNPostprocess(object): ...@@ -317,7 +317,7 @@ class RCNNPostprocess(object):
self.clip_bbox([xmin, ymin, xmax, ymax]) self.clip_bbox([xmin, ymin, xmax, ymax])
w = xmax - xmin w = xmax - xmin
h = ymax - ymin h = ymax - ymin
im_shape = t['im_shape'][0][i].tolist() im_shape = t['im_shape'].tolist()
im_height, im_width = int(im_shape[0]), int(im_shape[1]) im_height, im_width = int(im_shape[0]), int(im_shape[1])
xmin *= im_width xmin *= im_width
ymin *= im_height ymin *= im_height
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册