fix ln -s
parent
67dd2a31f3
commit
d4c4877efe
|
@ -50,7 +50,7 @@ if [ ${MODE} = "lite_train_lite_infer" ];then
|
|||
if [ ${model_name} == "det_r50_vd_sast_icdar15_v2.0" ] || [ ${model_name} == "det_r50_vd_sast_totaltext_v2.0" ]; then
|
||||
wget -nc -P ./pretrain_models/ https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ResNet50_vd_ssld_pretrained.pdparams --no-check-certificate
|
||||
wget -nc -P ./train_data/ wget -nc -P ./train_data/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/total_text_lite.tar --no-check-certificate
|
||||
cd ./train_data && tar xf total_text_lite.tar && ln -s total_text && cd ../
|
||||
cd ./train_data && tar xf total_text_lite.tar && ln -s total_text_lite total_text && cd ../
|
||||
fi
|
||||
if [ ${model_name} == "det_mv3_db_v2.0" ]; then
|
||||
wget -nc -P ./inference/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/en/det_mv3_db_v2.0_train.tar --no-check-certificate
|
||||
|
@ -78,15 +78,15 @@ elif [ ${MODE} = "whole_train_whole_infer" ];then
|
|||
cd ./pretrain_models/ && tar xf ch_PP-OCRv2_det_distill_train.tar && cd ../
|
||||
fi
|
||||
if [ ${model_name} == "en_server_pgnetA" ]; then
|
||||
wget -nc -P ./train_data/ https://paddleocr.bj.bcebos.com/dataset/total_text.tar --no-check-certificate
|
||||
wget -nc -P ./train_data/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/total_text_lite.tar --no-check-certificate
|
||||
wget -nc -P ./pretrain_models/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/pgnet/en_server_pgnetA.tar --no-check-certificate
|
||||
cd ./pretrain_models/ && tar xf en_server_pgnetA.tar && cd ../
|
||||
cd ./train_data && tar xf total_text.tar && ln -s total_text && cd ../
|
||||
cd ./train_data && tar xf total_text.tar && ln -s total_text_lite total_text && cd ../
|
||||
fi
|
||||
if [ ${model_name} == "det_r50_vd_sast_totaltext_v2.0" ]; then
|
||||
wget -nc -P ./pretrain_models/ https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/ResNet50_vd_ssld_pretrained.pdparams --no-check-certificate
|
||||
wget -nc -P ./train_data/ https://paddleocr.bj.bcebos.com/dataset/total_text.tar --no-check-certificate
|
||||
cd ./train_data && tar xf total_text.tar && ln -s total_text && cd ../
|
||||
wget -nc -P ./train_data/ https://paddleocr.bj.bcebos.com/dygraph_v2.0/test/total_text_lite.tar --no-check-certificate
|
||||
cd ./train_data && tar xf total_text.tar && ln -s total_text_lite total_text && cd ../
|
||||
fi
|
||||
elif [ ${MODE} = "lite_train_whole_infer" ];then
|
||||
wget -nc -P ./pretrain_models/ https://paddle-imagenet-models-name.bj.bcebos.com/dygraph/MobileNetV3_large_x0_5_pretrained.pdparams --no-check-certificate
|
||||
|
|
Loading…
Reference in New Issue