Skip to content

Commit

Permalink
[TIPC] Fix cpp infer and basic chains bug (PaddlePaddle#2264)
Browse files Browse the repository at this point in the history
  • Loading branch information
LutaoChu authored Jun 27, 2022
1 parent d0a5ee9 commit 6d5d838
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test_tipc/configs/ccnet/train_infer_python.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===========================train_params===========================
model_name:ccnet
python:python3
python:python3.7
gpu_list:0|0,1
Global.use_gpu:null|null
--precision:null
Expand Down
2 changes: 1 addition & 1 deletion test_tipc/configs/ddrnet/train_infer_python.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
===========================train_params===========================
model_name:ddrnet
python:python3
python:python3.7
gpu_list:0|0,1
Global.use_gpu:null|null
Global.auto_cast:null
Expand Down
6 changes: 3 additions & 3 deletions test_tipc/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ if [ ${MODE} = "cpp_infer" ];then
elif [ ${model_name} == "pp_liteseg_stdc2" ];then
wget -P inference_models https://paddleseg.bj.bcebos.com/tipc/infer_models/pp_liteseg_stdc2_cityscapes_1024x512_scale1.0_160k.zip --no-check-certificate
unzip inference_models/pp_liteseg_stdc2_cityscapes_1024x512_scale1.0_160k.zip -d inference_models/
elif [ ${model_name} == "pp_humanseg_lite" ];then
elif [ ${model_name} == "pphumanseg_lite" ];then
wget -P inference_models https://paddleseg.bj.bcebos.com/tipc/infer_models/pp_humanseg_lite_export_398x224.zip --no-check-certificate
unzip inference_models/pp_humanseg_lite_export_398x224 -d inference_models/
elif [ ${model_name} == "pp_humanseg_mobile" ];then
elif [ ${model_name} == "fcn_hrnetw18_small" ];then
wget -P inference_models https://paddleseg.bj.bcebos.com/tipc/infer_models/pp_humanseg_mobile_export_192x192.zip --no-check-certificate
unzip inference_models/pp_humanseg_mobile_export_192x192.zip -d inference_models/
elif [ ${model_name} == "pp_humanseg_server" ];then
elif [ ${model_name} == "deeplabv3p_resnet50" ];then
wget -P inference_models https://paddleseg.bj.bcebos.com/tipc/infer_models/pp_humanseg_server_export_512x512.zip --no-check-certificate
unzip inference_models/pp_humanseg_server_export_512x512.zip -d inference_models/
elif [ ${model_name} == "fcn_hrnetw18" ];then
Expand Down

0 comments on commit 6d5d838

Please sign in to comment.