Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
s920243400
PaddleOCR
提交
ef0803b0
P
PaddleOCR
项目概览
s920243400
/
PaddleOCR
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleOCR
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleOCR
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
ef0803b0
编写于
7月 19, 2021
作者:
L
LDOUBLEV
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix bugs
上级
a2df17dc
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
8 deletion
+8
-8
tests/ocr_det_params.txt
tests/ocr_det_params.txt
+1
-1
tests/prepare.sh
tests/prepare.sh
+6
-6
tests/test.sh
tests/test.sh
+1
-1
未找到文件。
tests/ocr_det_params.txt
浏览文件 @
ef0803b0
===========================train_params===========================
===========================train_params===========================
model_name:ocr_det
python:python3.7
gpu_list:0|0,1
...
...
tests/prepare.sh
浏览文件 @
ef0803b0
...
...
@@ -24,10 +24,10 @@ function func_parser_value(){
}
IFS
=
$'
\n
'
# The training params
model_name
=
$(
func_parser_value
"
${
lines
[
0
]
}
"
)
train_model_list
=
$(
func_parser_value
"
${
lines
[
0
]
}
"
)
model_name
=
$(
func_parser_value
"
${
lines
[
1
]
}
"
)
train_model_list
=
$(
func_parser_value
"
${
lines
[
1
]
}
"
)
trainer_list
=
$(
func_parser_value
"
${
lines
[1
0
]
}
"
)
trainer_list
=
$(
func_parser_value
"
${
lines
[1
4
]
}
"
)
# MODE be one of ['lite_train_infer' 'whole_infer' 'whole_train_infer']
...
...
@@ -62,11 +62,11 @@ elif [ ${MODE} = "whole_infer" ];then
eval_batch_step
=
10
else
rm
-rf
./train_data/icdar2015
wget
-nc
-P
./train_data https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/ch_det_data_50.tar
if
[
${
model_name
}
=
"ocr_det"
]
;
then
if
[[
${
model_name
}
=
"ocr_det"
]]
;
then
wget
-nc
-P
./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/ch_det_data_50.tar
eval_model_name
=
"ch_ppocr_mobile_v2.0_det_infer"
wget
-nc
-P
./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_det_infer.tar
cd
./inference
&&
tar
xf
${
eval_model_name
}
.tar
&&
cd
../
cd
./inference
&&
tar
xf
${
eval_model_name
}
.tar
&&
tar
xf ch_det_data_50.tar
&&
cd
../
else
eval_model_name
=
"ch_ppocr_mobile_v2.0_rec_train"
wget
-nc
-P
./inference https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_mobile_v2.0_rec_train.tar
...
...
tests/test.sh
浏览文件 @
ef0803b0
...
...
@@ -99,7 +99,7 @@ distill_key=$(func_parser_key "${lines[18]}")
distill_trainer
=
$(
func_parser_value
"
${
lines
[18]
}
"
)
trainer_key1
=
$(
func_parser_key
"
${
lines
[19]
}
"
)
trainer_value1
=
$(
func_parser_value
"
${
lines
[19]
}
"
)
trainer_key
1
=
$(
func_parser_key
"
${
lines
[20]
}
"
)
trainer_key
2
=
$(
func_parser_key
"
${
lines
[20]
}
"
)
trainer_value2
=
$(
func_parser_value
"
${
lines
[20]
}
"
)
eval_py
=
$(
func_parser_value
"
${
lines
[23]
}
"
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录