未验证 提交 d0c619a2 编写于 作者: B Bubbliiiing 提交者: GitHub

Update box_utils.py

上级 68c91cca
...@@ -171,6 +171,5 @@ def ssd_correct_boxes(top, left, bottom, right, input_shape, image_shape): ...@@ -171,6 +171,5 @@ def ssd_correct_boxes(top, left, bottom, right, input_shape, image_shape):
box_maxes[:, 0:1], box_maxes[:, 0:1],
box_maxes[:, 1:2] box_maxes[:, 1:2]
],axis=-1) ],axis=-1)
print(np.shape(boxes))
boxes *= np.concatenate([image_shape, image_shape],axis=-1) boxes *= np.concatenate([image_shape, image_shape],axis=-1)
return boxes return boxes
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册