未验证 提交 e28833a8 编写于 作者: F FDInSky 提交者: GitHub

Fix doc of detection's img_info param (#22458)

* test=develop fix doc of detection's img_info param
上级 69802396
......@@ -2748,8 +2748,8 @@ def generate_proposals(scores,
represents the differece between predicted box locatoin and
anchor location. The data type must be float32.
im_info(Variable): A 2-D Tensor with shape [N, 3] represents origin
image information for N batch. Info contains height, width and scale
between origin image size and the size of feature map.
image information for N batch. Height and width are the input sizes
and scale is the ratio of network input size and original size.
The data type must be int32.
anchors(Variable): A 4-D Tensor represents the anchors with a layout
of [H, W, A, 4]. H and W are height and width of the feature map,
......@@ -2842,7 +2842,7 @@ def box_clip(input, im_info, name=None):
the last dimension is 4 and data type is float32 or float64.
im_info(Variable): The 2-D Tensor with shape [N, 3] with layout
(height, width, scale) represeting the information of image.
height and width is the input size and scale is the ratio of input
Height and width are the input sizes and scale is the ratio of network input
size and original size. The data type is float32 or float64.
name(str, optional): For detailed information, please refer
to :ref:`api_guide_Name`. Usually name is no need to set and
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册