Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
b34df5f1
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2299
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
b34df5f1
编写于
12月 12, 2017
作者:
S
sweetsky0901
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add some doc
上级
5fe4d7fb
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
15 addition
and
12 deletion
+15
-12
paddle/operators/detection_output_op.cc
paddle/operators/detection_output_op.cc
+15
-12
未找到文件。
paddle/operators/detection_output_op.cc
浏览文件 @
b34df5f1
...
...
@@ -22,36 +22,39 @@ class Detection_output_OpMaker : public framework::OpProtoAndCheckerMaker {
framework
::
OpAttrChecker
*
op_checker
)
:
OpProtoAndCheckerMaker
(
proto
,
op_checker
)
{
AddInput
(
"Loc"
,
"(Tensor) The input tensor of detection_output operator. "
"(Tensor) The input tensor of detection_output operator."
"The input predict locations"
"The format of input tensor is kNCHW. Where K is priorbox point "
"numbers,"
"N is How many boxes are there on each point, "
"C is 4, H and W both are 1."
);
AddInput
(
"Conf"
,
"(Tensor) The input tensor of detection_output operator. "
"(Tensor) The input tensor of detection_output operator."
"The input priorbox confidence."
"The format of input tensor is kNCHW. Where K is priorbox point "
"numbers,"
"N is How many boxes are there on each point, "
"C is the number of classes, H and W both are 1."
);
AddInput
(
"PriorBox"
,
"(Tensor) The input tensor of detection_output operator.
"
"(Tensor) The input tensor of detection_output operator."
"The format of input tensor is the position and variance "
"of the boxes"
);
AddOutput
(
"Out"
,
"(Tensor) The output tensor of detection_output operator."
);
AddAttr
<
int
>
(
"background_label_id"
,
"(int), the attr of detection_output operator"
);
AddAttr
<
int
>
(
"num_classes"
,
"(int), the attr of detection_output operator"
);
AddAttr
<
int
>
(
"background_label_id"
,
"(int), The background class index."
);
AddAttr
<
int
>
(
"num_classes"
,
"(int), The number of the classification."
);
AddAttr
<
float
>
(
"nms_threshold"
,
"(float),
the attr of detection_output operator
"
);
"(float),
The Non-maximum suppression threshold.
"
);
AddAttr
<
float
>
(
"confidence_threshold"
,
"(float), the attr of detection_output operator"
);
AddAttr
<
int
>
(
"top_k"
,
"(int), the attr of detection_output operator"
);
AddAttr
<
int
>
(
"nms_top_k"
,
"(int), the attr of detection_output operator"
);
"(float), The classification confidence threshold."
);
AddAttr
<
int
>
(
"top_k"
,
"(int), The bbox number kept of the layer’s output."
);
AddAttr
<
int
>
(
"nms_top_k"
,
"(int), The bbox number kept of the NMS’s output."
);
AddComment
(
R"DOC(
detection output for SSD(single shot multibox detector)
Apply the NMS to the output of network and compute the predict
bounding box location. The output’s shape of this layer could
be zero if there is no valid bounding box.
)DOC"
);
}
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录