|
|
@ -2010,9 +2010,10 @@ def box_clip(input, im_info, name=None):
|
|
|
|
output = helper.create_variable_for_type_inference(dtype=input.dtype)
|
|
|
|
output = helper.create_variable_for_type_inference(dtype=input.dtype)
|
|
|
|
inputs = {"Input": input, "ImInfo": im_info}
|
|
|
|
inputs = {"Input": input, "ImInfo": im_info}
|
|
|
|
helper.append_op(type="box_clip", inputs=inputs, outputs={"Output": output})
|
|
|
|
helper.append_op(type="box_clip", inputs=inputs, outputs={"Output": output})
|
|
|
|
|
|
|
|
|
|
|
|
return output
|
|
|
|
return output
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def multiclass_nms(bboxes,
|
|
|
|
def multiclass_nms(bboxes,
|
|
|
|
scores,
|
|
|
|
scores,
|
|
|
|
score_threshold,
|
|
|
|
score_threshold,
|
|
|
|