未验证 提交 6604bc45 编写于 作者: J Jason 提交者: GitHub

Modify return type of matrix_nms to keep same with multiclass_nms3 (#3067)

上级 e0ad4dbe
......@@ -1139,7 +1139,7 @@ def matrix_nms(bboxes,
index = helper.create_variable_for_type_inference(dtype='int')
outputs = {'Out': output, 'Index': index}
if return_rois_num:
rois_num = helper.create_variable_for_type_inference(dtype='int')
rois_num = helper.create_variable_for_type_inference(dtype='int32')
outputs['RoisNum'] = rois_num
helper.append_op(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册