Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
0865d0c4
Commit
0865d0c4
authored
Mar 01, 2022
by
WenmuZhou
Browse files
rm \n in FCEMetric
parent
d5363df4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
configs/det/det_r50_vd_dcn_fce_ctw.yml
configs/det/det_r50_vd_dcn_fce_ctw.yml
+0
-0
doc/doc_ch/algorithm_overview.md
doc/doc_ch/algorithm_overview.md
+8
-8
ppocr/metrics/det_metric.py
ppocr/metrics/det_metric.py
+1
-1
No files found.
configs/det/det_r50_dcn_fce_ctw.yml
→
configs/det/det_r50_
vd_
dcn_fce_ctw.yml
View file @
0865d0c4
File moved
doc/doc_ch/algorithm_overview.md
View file @
0865d0c4
# 两阶段算法
-
[
两阶段算法
](
#
-----
)
*
[
1. 算法介绍
](
#1
)
+
[
1.1 文本检测算法
](
#11
)
+
[
1.2 文本识别算法
](
#12
)
*
[
2. 模型训练
](
#2
)
*
[
3. 模型推理
](
#3
)
-
[
两阶段算法
](
#
两阶段算法
)
-
[
1. 算法介绍
](
#1
-算法介绍
)
-
[
1.1 文本检测算法
](
#11
-文本检测算法
)
-
[
1.2 文本识别算法
](
#12
-文本识别算法
)
-
[
2. 模型训练
](
#2
-模型训练
)
-
[
3. 模型推理
](
#3
-模型推理
)
<a
name=
"1"
></a>
...
...
@@ -43,8 +43,8 @@ PaddleOCR开源的文本检测算法列表:
在CTW1500文本检测公开数据集上,算法效果如下:
|模型|骨干网络|precision|recall|Hmean|下载链接|
| --- | --- | --- | --- | --- | --- |
|FCE|ResNet50_dcn|88.
1
3%|82.
60
%|85.2
8
%|
[
训练模型
](
https://paddleocr.bj.bcebos.com/contribution/det_r50_dcn_fce_ctw_v2.0_train.tar
)
|
| --- | --- | --- | --- | --- | --- |
|FCE|ResNet50_dcn|88.3
9
%|82.
18
%|85.2
7
%|
[
训练模型
](
https://paddleocr.bj.bcebos.com/contribution/det_r50_dcn_fce_ctw_v2.0_train.tar
)
|
**说明:**
SAST模型训练额外加入了icdar2013、icdar2017、COCO-Text、ArT等公开数据集进行调优。PaddleOCR用到的经过整理格式的英文公开数据集下载:
*
[
百度云地址
](
https://pan.baidu.com/s/12cPnZcVuV1zn5DOd4mqjVw
)
(
提取码:
2bpi)
...
...
ppocr/metrics/det_metric.py
View file @
0865d0c4
...
...
@@ -135,7 +135,7 @@ class DetFCEMetric(object):
# metircs['{}_{}'.format(key, score_thr)] = value
metirc_str
=
'precision:{:.5f} recall:{:.5f} hmean:{:.5f}'
.
format
(
metirc
[
'precision'
],
metirc
[
'recall'
],
metirc
[
'hmean'
])
metircs
[
'
\n
thr {}'
.
format
(
score_thr
)]
=
metirc_str
metircs
[
'thr {}'
.
format
(
score_thr
)]
=
metirc_str
hmean
=
max
(
hmean
,
metirc
[
'hmean'
])
metircs
[
'hmean'
]
=
hmean
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment