Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
PaddleDetection
提交
e9dea08b
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看板
提交
e9dea08b
编写于
9月 04, 2019
作者:
K
Kaipeng Deng
提交者:
GitHub
9月 04, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add --map_type to set voc_eval map_type (#3260)
上级
1b42de24
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
15 addition
and
4 deletion
+15
-4
configs/ssd/ssd_mobilenet_v1_voc.yml
configs/ssd/ssd_mobilenet_v1_voc.yml
+1
-0
configs/ssd/ssd_vgg16_300_voc.yml
configs/ssd/ssd_vgg16_300_voc.yml
+1
-0
configs/ssd/ssd_vgg16_512_voc.yml
configs/ssd/ssd_vgg16_512_voc.yml
+1
-0
configs/yolov3_darknet_voc.yml
configs/yolov3_darknet_voc.yml
+1
-0
configs/yolov3_mobilenet_v1_voc.yml
configs/yolov3_mobilenet_v1_voc.yml
+1
-0
configs/yolov3_r34_voc.yml
configs/yolov3_r34_voc.yml
+1
-0
docs/config_example/ssd_vgg16_300.yml
docs/config_example/ssd_vgg16_300.yml
+3
-1
ppdet/utils/eval_utils.py
ppdet/utils/eval_utils.py
+5
-2
tools/eval.py
tools/eval.py
+1
-1
未找到文件。
configs/ssd/ssd_mobilenet_v1_voc.yml
浏览文件 @
e9dea08b
...
...
@@ -8,6 +8,7 @@ max_iters: 28000
snapshot_iter
:
2000
log_smooth_window
:
1
metric
:
VOC
map_type
:
11point
save_dir
:
output
weights
:
output/ssd_mobilenet_v1_voc/model_final/
num_classes
:
21
...
...
configs/ssd/ssd_vgg16_300_voc.yml
浏览文件 @
e9dea08b
...
...
@@ -8,6 +8,7 @@ snapshot_iter: 10000
log_smooth_window
:
20
log_iter
:
20
metric
:
VOC
map_type
:
11point
pretrain_weights
:
https://paddle-imagenet-models-name.bj.bcebos.com/VGG16_caffe_pretrained.tar
save_dir
:
output
weights
:
output/ssd_vgg16_300_voc/model_final/
...
...
configs/ssd/ssd_vgg16_512_voc.yml
浏览文件 @
e9dea08b
...
...
@@ -8,6 +8,7 @@ snapshot_iter: 10000
log_smooth_window
:
20
log_iter
:
20
metric
:
VOC
map_type
:
11point
pretrain_weights
:
https://paddle-imagenet-models-name.bj.bcebos.com/VGG16_caffe_pretrained.tar
save_dir
:
output
weights
:
output/ssd_vgg16_512_voc/model_final/
...
...
configs/yolov3_darknet_voc.yml
浏览文件 @
e9dea08b
...
...
@@ -8,6 +8,7 @@ log_smooth_window: 20
save_dir
:
output
snapshot_iter
:
2000
metric
:
VOC
map_type
:
11point
pretrain_weights
:
https://paddle-imagenet-models-name.bj.bcebos.com/DarkNet53_pretrained.tar
weights
:
output/yolov3_darknet_voc/model_final
num_classes
:
20
...
...
configs/yolov3_mobilenet_v1_voc.yml
浏览文件 @
e9dea08b
...
...
@@ -8,6 +8,7 @@ log_smooth_window: 20
save_dir
:
output
snapshot_iter
:
2000
metric
:
VOC
map_type
:
11point
pretrain_weights
:
http://paddle-imagenet-models-name.bj.bcebos.com/MobileNetV1_pretrained.tar
weights
:
output/yolov3_mobilenet_v1_voc/model_final
num_classes
:
20
...
...
configs/yolov3_r34_voc.yml
浏览文件 @
e9dea08b
...
...
@@ -8,6 +8,7 @@ log_smooth_window: 20
save_dir
:
output
snapshot_iter
:
2000
metric
:
VOC
map_type
:
11point
pretrain_weights
:
https://paddle-imagenet-models-name.bj.bcebos.com/ResNet34_pretrained.tar
weights
:
output/yolov3_r34_voc/model_final
num_classes
:
20
...
...
docs/config_example/ssd_vgg16_300.yml
浏览文件 @
e9dea08b
...
...
@@ -17,8 +17,10 @@ snapshot_iter: 10000
log_smooth_window
:
20
# The log in training is displayed once every period.
log_iter
:
20
# Evalution method, COCO and VOC are available.
# Evalu
a
tion method, COCO and VOC are available.
metric
:
COCO
# Evaluation mAP calculation method in VOC metric, 11point and integral are available.
map_type
:
11point
# The path of final model for evaluation and test.
pretrain_weights
:
https://paddle-imagenet-models-name.bj.bcebos.com/VGG16_caffe_pretrained.tar
# The directory to save models.
...
...
ppdet/utils/eval_utils.py
浏览文件 @
e9dea08b
...
...
@@ -96,7 +96,8 @@ def eval_results(results,
num_classes
,
resolution
=
None
,
is_bbox_normalized
=
False
,
output_directory
=
None
):
output_directory
=
None
,
map_type
=
'11point'
):
"""Evaluation for evaluation program results"""
box_ap_stats
=
[]
if
metric
==
'COCO'
:
...
...
@@ -129,7 +130,9 @@ def eval_results(results,
box_ap_stats
.
append
(
res
*
100.
)
elif
'bbox'
in
results
[
0
]:
box_ap
=
voc_bbox_eval
(
results
,
num_classes
,
is_bbox_normalized
=
is_bbox_normalized
)
results
,
num_classes
,
is_bbox_normalized
=
is_bbox_normalized
,
map_type
=
map_type
)
box_ap_stats
.
append
(
box_ap
)
return
box_ap_stats
...
...
tools/eval.py
浏览文件 @
e9dea08b
...
...
@@ -137,7 +137,7 @@ def main():
if
'mask'
in
results
[
0
]:
resolution
=
model
.
mask_head
.
resolution
eval_results
(
results
,
eval_feed
,
cfg
.
metric
,
cfg
.
num_classes
,
resolution
,
is_bbox_normalized
,
FLAGS
.
output_eval
)
is_bbox_normalized
,
FLAGS
.
output_eval
,
cfg
.
map_type
)
if
__name__
==
'__main__'
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录