Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_41840029
PaddleOCR
提交
26ad6512
P
PaddleOCR
项目概览
weixin_41840029
/
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看板
未验证
提交
26ad6512
编写于
2月 10, 2022
作者:
D
Double_V
提交者:
GitHub
2月 10, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #5421 from LDOUBLEV/dygraph
[benchmark] add pse east db to benchmark
上级
63062602
64edd41c
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
77 addition
and
11 deletion
+77
-11
test_tipc/configs/det_r18_vd_v2_0/train_infer_python.txt
test_tipc/configs/det_r18_vd_v2_0/train_infer_python.txt
+56
-0
test_tipc/configs/det_r50_vd_east_v2_0/det_r50_vd_east.yml
test_tipc/configs/det_r50_vd_east_v2_0/det_r50_vd_east.yml
+0
-0
test_tipc/configs/det_r50_vd_east_v2_0/train_infer_python.txt
..._tipc/configs/det_r50_vd_east_v2_0/train_infer_python.txt
+9
-4
test_tipc/configs/det_r50_vd_pse_v2_0/det_r50_vd_pse.yml
test_tipc/configs/det_r50_vd_pse_v2_0/det_r50_vd_pse.yml
+0
-0
test_tipc/configs/det_r50_vd_pse_v2_0/train_infer_python.txt
test_tipc/configs/det_r50_vd_pse_v2_0/train_infer_python.txt
+9
-4
test_tipc/prepare.sh
test_tipc/prepare.sh
+3
-3
未找到文件。
test_tipc/configs/det_r18_vd_v2_0/train_infer_python.txt
0 → 100644
浏览文件 @
26ad6512
===========================train_params===========================
model_name:det_r18_db_v2_0
python:python3.7
gpu_list:0|0,1
Global.use_gpu:True|True
Global.auto_cast:null
Global.epoch_num:lite_train_lite_infer=2|whole_train_whole_infer=300
Global.save_model_dir:./output/
Train.loader.batch_size_per_card:lite_train_lite_infer=2|whole_train_lite_infer=4
Global.pretrained_model:null
train_model_name:latest
train_infer_img_dir:./train_data/icdar2015/text_localization/ch4_test_images/
null:null
##
trainer:norm_train
norm_train:tools/train.py -c configs/det/det_res18_db_v2.0.yml -o
quant_export:null
fpgm_export:null
distill_train:null
null:null
null:null
##
===========================eval_params===========================
eval:null
null:null
##
===========================infer_params===========================
Global.save_inference_dir:./output/
Global.checkpoints:
norm_export:null
quant_export:null
fpgm_export:null
distill_export:null
export1:null
export2:null
##
train_model:null
infer_export:null
infer_quant:False
inference:tools/infer/predict_det.py
--use_gpu:True|False
--enable_mkldnn:True|False
--cpu_threads:1|6
--rec_batch_num:1
--use_tensorrt:False|True
--precision:fp32|fp16|int8
--det_model_dir:
--image_dir:./inference/ch_det_data_50/all-sum-510/
--save_log_path:null
--benchmark:True
null:null
===========================train_benchmark_params==========================
batch_size:8|16
fp_items:fp32|fp16
epoch:2
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
test_tipc/configs/det_r50_vd_east_v2
.
0/det_r50_vd_east.yml
→
test_tipc/configs/det_r50_vd_east_v2
_
0/det_r50_vd_east.yml
浏览文件 @
26ad6512
文件已移动
test_tipc/configs/det_r50_vd_east_v2
.
0/train_infer_python.txt
→
test_tipc/configs/det_r50_vd_east_v2
_
0/train_infer_python.txt
浏览文件 @
26ad6512
===========================train_params===========================
===========================train_params===========================
model_name:det_r50_vd_east_v2
.
0
model_name:det_r50_vd_east_v2
_
0
python:python3.7
python:python3.7
gpu_list:0
gpu_list:0
Global.use_gpu:True|True
Global.use_gpu:True|True
...
@@ -13,7 +13,7 @@ train_infer_img_dir:./train_data/icdar2015/text_localization/ch4_test_images/
...
@@ -13,7 +13,7 @@ train_infer_img_dir:./train_data/icdar2015/text_localization/ch4_test_images/
null:null
null:null
##
##
trainer:norm_train
trainer:norm_train
norm_train:tools/train.py -c test_tipc/configs/det_r50_vd_east_v2
.
0/det_r50_vd_east.yml -o
norm_train:tools/train.py -c test_tipc/configs/det_r50_vd_east_v2
_
0/det_r50_vd_east.yml -o
pact_train:null
pact_train:null
fpgm_train:null
fpgm_train:null
distill_train:null
distill_train:null
...
@@ -27,7 +27,7 @@ null:null
...
@@ -27,7 +27,7 @@ null:null
===========================infer_params===========================
===========================infer_params===========================
Global.save_inference_dir:./output/
Global.save_inference_dir:./output/
Global.checkpoints:
Global.checkpoints:
norm_export:tools/export_model.py -c test_tipc/configs/det_r50_vd_east_v2
.
0/det_r50_vd_east.yml -o
norm_export:tools/export_model.py -c test_tipc/configs/det_r50_vd_east_v2
_
0/det_r50_vd_east.yml -o
quant_export:null
quant_export:null
fpgm_export:null
fpgm_export:null
distill_export:null
distill_export:null
...
@@ -35,7 +35,7 @@ export1:null
...
@@ -35,7 +35,7 @@ export1:null
export2:null
export2:null
##
##
train_model:./inference/det_r50_vd_east_v2.0_train/best_accuracy
train_model:./inference/det_r50_vd_east_v2.0_train/best_accuracy
infer_export:tools/export_model.py -c test_tipc/configs/det_r50_vd_east_v2
.
0/det_r50_vd_east.yml -o
infer_export:tools/export_model.py -c test_tipc/configs/det_r50_vd_east_v2
_
0/det_r50_vd_east.yml -o
infer_quant:False
infer_quant:False
inference:tools/infer/predict_det.py
inference:tools/infer/predict_det.py
--use_gpu:True|False
--use_gpu:True|False
...
@@ -49,3 +49,8 @@ inference:tools/infer/predict_det.py
...
@@ -49,3 +49,8 @@ inference:tools/infer/predict_det.py
--save_log_path:null
--save_log_path:null
--benchmark:True
--benchmark:True
--det_algorithm:EAST
--det_algorithm:EAST
===========================train_benchmark_params==========================
batch_size:8
fp_items:fp32|fp16
epoch:2
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
\ No newline at end of file
test_tipc/configs/det_r50_vd_pse_v2
.
0/det_r50_vd_pse.yml
→
test_tipc/configs/det_r50_vd_pse_v2
_
0/det_r50_vd_pse.yml
浏览文件 @
26ad6512
文件已移动
test_tipc/configs/det_r50_vd_pse_v2
.
0/train_infer_python.txt
→
test_tipc/configs/det_r50_vd_pse_v2
_
0/train_infer_python.txt
浏览文件 @
26ad6512
===========================train_params===========================
===========================train_params===========================
model_name:det_r50_vd_pse_v2
.
0
model_name:det_r50_vd_pse_v2
_
0
python:python3.7
python:python3.7
gpu_list:0
gpu_list:0
Global.use_gpu:True|True
Global.use_gpu:True|True
...
@@ -13,7 +13,7 @@ train_infer_img_dir:./train_data/icdar2015/text_localization/ch4_test_images/
...
@@ -13,7 +13,7 @@ train_infer_img_dir:./train_data/icdar2015/text_localization/ch4_test_images/
null:null
null:null
##
##
trainer:norm_train
trainer:norm_train
norm_train:tools/train.py -c test_tipc/configs/det_r50_vd_pse_v2
.
0/det_r50_vd_pse.yml -o
norm_train:tools/train.py -c test_tipc/configs/det_r50_vd_pse_v2
_
0/det_r50_vd_pse.yml -o
pact_train:null
pact_train:null
fpgm_train:null
fpgm_train:null
distill_train:null
distill_train:null
...
@@ -27,7 +27,7 @@ null:null
...
@@ -27,7 +27,7 @@ null:null
===========================infer_params===========================
===========================infer_params===========================
Global.save_inference_dir:./output/
Global.save_inference_dir:./output/
Global.checkpoints:
Global.checkpoints:
norm_export:tools/export_model.py -c test_tipc/configs/det_r50_vd_pse_v2
.
0/det_r50_vd_pse.yml -o
norm_export:tools/export_model.py -c test_tipc/configs/det_r50_vd_pse_v2
_
0/det_r50_vd_pse.yml -o
quant_export:null
quant_export:null
fpgm_export:null
fpgm_export:null
distill_export:null
distill_export:null
...
@@ -35,7 +35,7 @@ export1:null
...
@@ -35,7 +35,7 @@ export1:null
export2:null
export2:null
##
##
train_model:./inference/det_r50_vd_pse_v2.0_train/best_accuracy
train_model:./inference/det_r50_vd_pse_v2.0_train/best_accuracy
infer_export:tools/export_model.py -c test_tipc/configs/det_r50_vd_pse_v2
.
0/det_r50_vd_pse.yml -o
infer_export:tools/export_model.py -c test_tipc/configs/det_r50_vd_pse_v2
_
0/det_r50_vd_pse.yml -o
infer_quant:False
infer_quant:False
inference:tools/infer/predict_det.py
inference:tools/infer/predict_det.py
--use_gpu:True|False
--use_gpu:True|False
...
@@ -49,3 +49,8 @@ inference:tools/infer/predict_det.py
...
@@ -49,3 +49,8 @@ inference:tools/infer/predict_det.py
--save_log_path:null
--save_log_path:null
--benchmark:True
--benchmark:True
--det_algorithm:PSE
--det_algorithm:PSE
===========================train_benchmark_params==========================
batch_size:8
fp_items:fp32|fp16
epoch:2
--profiler_options:batch_range=[10,20];state=GPU;tracer_option=Default;profile_path=model.profile
test_tipc/prepare.sh
浏览文件 @
26ad6512
...
@@ -22,7 +22,7 @@ trainer_list=$(func_parser_value "${lines[14]}")
...
@@ -22,7 +22,7 @@ trainer_list=$(func_parser_value "${lines[14]}")
if
[
${
MODE
}
=
"benchmark_train"
]
;
then
if
[
${
MODE
}
=
"benchmark_train"
]
;
then
pip
install
-r
requirements.txt
pip
install
-r
requirements.txt
if
[[
${
model_name
}
=
~
"det_mv3_db_v2_0"
]]
;
then
if
[[
${
model_name
}
=
~
"det_mv3_db_v2_0"
||
${
model_name
}
=
~
"det_r50_vd_east_v2_0"
||
${
model_name
}
=
~
"det_r50_vd_pse_v2_0"
||
${
model_name
}
=
~
"det_r18_db_v2_0"
]]
;
then
rm
-rf
./train_data/icdar2015
rm
-rf
./train_data/icdar2015
wget
-nc
-P
./pretrain_models/ https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/MobileNetV3_large_x0_5_pretrained.pdparams
--no-check-certificate
wget
-nc
-P
./pretrain_models/ https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/MobileNetV3_large_x0_5_pretrained.pdparams
--no-check-certificate
wget
-nc
-P
./train_data/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/icdar2015.tar
--no-check-certificate
wget
-nc
-P
./train_data/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/icdar2015.tar
--no-check-certificate
...
@@ -232,7 +232,7 @@ elif [ ${MODE} = "whole_infer" ];then
...
@@ -232,7 +232,7 @@ elif [ ${MODE} = "whole_infer" ];then
wget
-nc
-P
./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.1/en_det/det_mv3_pse_v2.0_train.tar
--no-check-certificate
wget
-nc
-P
./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.1/en_det/det_mv3_pse_v2.0_train.tar
--no-check-certificate
cd
./inference/
&&
tar
xf det_mv3_pse_v2.0_train.tar &
cd
../
cd
./inference/
&&
tar
xf det_mv3_pse_v2.0_train.tar &
cd
../
fi
fi
if
[
${
model_name
}
==
"det_r50_vd_pse_v2
.
0"
]
;
then
if
[
${
model_name
}
==
"det_r50_vd_pse_v2
_
0"
]
;
then
wget
-nc
-P
./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.1/en_det/det_r50_vd_pse_v2.0_train.tar
--no-check-certificate
wget
-nc
-P
./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.1/en_det/det_r50_vd_pse_v2.0_train.tar
--no-check-certificate
cd
./inference/
&&
tar
xf det_r50_vd_pse_v2.0_train.tar &
cd
../
cd
./inference/
&&
tar
xf det_r50_vd_pse_v2.0_train.tar &
cd
../
fi
fi
...
@@ -240,7 +240,7 @@ elif [ ${MODE} = "whole_infer" ];then
...
@@ -240,7 +240,7 @@ elif [ ${MODE} = "whole_infer" ];then
wget
-nc
-P
./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_mv3_east_v2.0_train.tar
--no-check-certificate
wget
-nc
-P
./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_mv3_east_v2.0_train.tar
--no-check-certificate
cd
./inference/
&&
tar
xf det_mv3_east_v2.0_train.tar &
cd
../
cd
./inference/
&&
tar
xf det_mv3_east_v2.0_train.tar &
cd
../
fi
fi
if
[
${
model_name
}
==
"det_r50_vd_east_v2
.
0"
]
;
then
if
[
${
model_name
}
==
"det_r50_vd_east_v2
_
0"
]
;
then
wget
-nc
-P
./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_r50_vd_east_v2.0_train.tar
--no-check-certificate
wget
-nc
-P
./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_r50_vd_east_v2.0_train.tar
--no-check-certificate
cd
./inference/
&&
tar
xf det_r50_vd_east_v2.0_train.tar &
cd
../
cd
./inference/
&&
tar
xf det_r50_vd_east_v2.0_train.tar &
cd
../
fi
fi
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录