Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
PaddleDetection
提交
46abc77d
P
PaddleDetection
项目概览
s920243400
/
PaddleDetection
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleDetection
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
46abc77d
编写于
12月 20, 2019
作者:
W
wangguanzhong
提交者:
GitHub
12月 20, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add step in prior_box (#107)
* add step in prior_box * refine README
上级
d7548aad
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
7 deletion
+11
-7
configs/face_detection/README.md
configs/face_detection/README.md
+4
-4
ppdet/modeling/architectures/blazeface.py
ppdet/modeling/architectures/blazeface.py
+2
-1
ppdet/modeling/architectures/faceboxes.py
ppdet/modeling/architectures/faceboxes.py
+5
-2
未找到文件。
configs/face_detection/README.md
浏览文件 @
46abc77d
...
@@ -87,8 +87,8 @@ optimized network structure.
...
@@ -87,8 +87,8 @@ optimized network structure.
| BlazeFace | Original | 640 | 8 | 32w |
**0.915**
|
**0.892**
|
**0.797**
|
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/blazeface_original.tar
)
|
| BlazeFace | Original | 640 | 8 | 32w |
**0.915**
|
**0.892**
|
**0.797**
|
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/blazeface_original.tar
)
|
| BlazeFace | Lite | 640 | 8 | 32w | 0.909 | 0.885 | 0.781 |
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/blazeface_lite.tar
)
|
| BlazeFace | Lite | 640 | 8 | 32w | 0.909 | 0.885 | 0.781 |
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/blazeface_lite.tar
)
|
| BlazeFace | NAS | 640 | 8 | 32w | 0.837 | 0.807 | 0.658 |
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/blazeface_nas.tar
)
|
| BlazeFace | NAS | 640 | 8 | 32w | 0.837 | 0.807 | 0.658 |
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/blazeface_nas.tar
)
|
| FaceBoxes | Original | 640 | 8 | 32w | 0.87
5 | 0.848 | 0.568
|
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/faceboxes_original.tar
)
|
| FaceBoxes | Original | 640 | 8 | 32w | 0.87
8 | 0.851 | 0.576
|
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/faceboxes_original.tar
)
|
| FaceBoxes | Lite | 640 | 8 | 32w | 0.
898 | 0.872 | 0.752
|
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/faceboxes_lite.tar
)
|
| FaceBoxes | Lite | 640 | 8 | 32w | 0.
901 | 0.875 | 0.760
|
[
model
](
https://paddlemodels.bj.bcebos.com/object_detection/faceboxes_lite.tar
)
|
**NOTES:**
**NOTES:**
-
Get mAP in
`Easy/Medium/Hard Set`
by multi-scale evaluation in
`tools/face_eval.py`
.
-
Get mAP in
`Easy/Medium/Hard Set`
by multi-scale evaluation in
`tools/face_eval.py`
.
...
@@ -103,8 +103,8 @@ configs file and set `lite_edition: true`.
...
@@ -103,8 +103,8 @@ configs file and set `lite_edition: true`.
| BlazeFace | Original | 640 |
**0.992**
|
**0.762**
|
| BlazeFace | Original | 640 |
**0.992**
|
**0.762**
|
| BlazeFace | Lite | 640 | 0.990 | 0.756 |
| BlazeFace | Lite | 640 | 0.990 | 0.756 |
| BlazeFace | NAS | 640 | 0.981 | 0.741 |
| BlazeFace | NAS | 640 | 0.981 | 0.741 |
| FaceBoxes | Original | 640 | 0.98
5 | 0.731
|
| FaceBoxes | Original | 640 | 0.98
7 | 0.736
|
| FaceBoxes | Lite | 640 | 0.98
7 | 0.74
1 |
| FaceBoxes | Lite | 640 | 0.98
8 | 0.75
1 |
**NOTES:**
**NOTES:**
-
Get mAP by multi-scale evaluation on the FDDB dataset.
-
Get mAP by multi-scale evaluation on the FDDB dataset.
...
...
ppdet/modeling/architectures/blazeface.py
浏览文件 @
46abc77d
...
@@ -131,7 +131,8 @@ class BlazeFace(object):
...
@@ -131,7 +131,8 @@ class BlazeFace(object):
fixed_sizes
=
min_size
,
fixed_sizes
=
min_size
,
fixed_ratios
=
[
1.
],
fixed_ratios
=
[
1.
],
clip
=
False
,
clip
=
False
,
offset
=
0.5
)
offset
=
0.5
,
steps
=
[
self
.
steps
[
i
]]
*
2
)
else
:
else
:
box
,
var
=
fluid
.
layers
.
prior_box
(
box
,
var
=
fluid
.
layers
.
prior_box
(
input
,
input
,
...
...
ppdet/modeling/architectures/faceboxes.py
浏览文件 @
46abc77d
...
@@ -54,7 +54,8 @@ class FaceBoxes(object):
...
@@ -54,7 +54,8 @@ class FaceBoxes(object):
output_decoder
=
SSDOutputDecoder
().
__dict__
,
output_decoder
=
SSDOutputDecoder
().
__dict__
,
densities
=
[[
4
,
2
,
1
],
[
1
],
[
1
]],
densities
=
[[
4
,
2
,
1
],
[
1
],
[
1
]],
fixed_sizes
=
[[
32.
,
64.
,
128.
],
[
256.
],
[
512.
]],
fixed_sizes
=
[[
32.
,
64.
,
128.
],
[
256.
],
[
512.
]],
num_classes
=
2
):
num_classes
=
2
,
steps
=
[
8.
,
16.
,
32.
]):
super
(
FaceBoxes
,
self
).
__init__
()
super
(
FaceBoxes
,
self
).
__init__
()
self
.
backbone
=
backbone
self
.
backbone
=
backbone
self
.
num_classes
=
num_classes
self
.
num_classes
=
num_classes
...
@@ -63,6 +64,7 @@ class FaceBoxes(object):
...
@@ -63,6 +64,7 @@ class FaceBoxes(object):
self
.
output_decoder
=
SSDOutputDecoder
(
**
output_decoder
)
self
.
output_decoder
=
SSDOutputDecoder
(
**
output_decoder
)
self
.
densities
=
densities
self
.
densities
=
densities
self
.
fixed_sizes
=
fixed_sizes
self
.
fixed_sizes
=
fixed_sizes
self
.
steps
=
steps
def
build
(
self
,
feed_vars
,
mode
=
'train'
):
def
build
(
self
,
feed_vars
,
mode
=
'train'
):
im
=
feed_vars
[
'image'
]
im
=
feed_vars
[
'image'
]
...
@@ -114,7 +116,8 @@ class FaceBoxes(object):
...
@@ -114,7 +116,8 @@ class FaceBoxes(object):
fixed_sizes
=
fixed_sizes
,
fixed_sizes
=
fixed_sizes
,
fixed_ratios
=
[
1.
],
fixed_ratios
=
[
1.
],
clip
=
False
,
clip
=
False
,
offset
=
0.5
)
offset
=
0.5
,
steps
=
[
self
.
steps
[
i
]]
*
2
)
num_boxes
=
box
.
shape
[
2
]
num_boxes
=
box
.
shape
[
2
]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录