mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-06-03 21:53:39 +08:00
add east
This commit is contained in:
parent
d5abf2a4cc
commit
cdabce67bd
@ -1,5 +1,5 @@
|
|||||||
===========================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/
|
|||||||
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
|
|||||||
===========================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
|
|||||||
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
|
|||||||
--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
|
@ -231,7 +231,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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user