mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-06-03 21:53:39 +08:00
rename mode
This commit is contained in:
parent
94788c6d95
commit
a530b69886
@ -1,8 +1,8 @@
|
|||||||
===========================train_params===========================
|
===========================train_params===========================
|
||||||
model_name:det_mv3_db_v2.0_benchmark
|
model_name:det_mv3_db_v2.0
|
||||||
python:python
|
python:python
|
||||||
gpu_list:0|0,1
|
gpu_list:0
|
||||||
Global.use_gpu:True|True
|
Global.use_gpu:True
|
||||||
Global.auto_cast:null
|
Global.auto_cast:null
|
||||||
Global.epoch_num:benchmark_train=2
|
Global.epoch_num:benchmark_train=2
|
||||||
Global.save_model_dir:./output/
|
Global.save_model_dir:./output/
|
||||||
|
@ -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_benchmark" ]];then
|
if [[ ${model_name} =~ "det_mv3_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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user