diff --git a/tools/scripts/ipipe_py3.sh b/tools/scripts/ipipe_py3.sh index f3e3aa7ea0539d7394370a6a24331ad300a1d2cf..cbc7a11abc0b8b848f5d0b9f62595ed6d09284c6 100644 --- a/tools/scripts/ipipe_py3.sh +++ b/tools/scripts/ipipe_py3.sh @@ -909,7 +909,7 @@ function ocr_c++_service() { cp -r ocr_det_client/ ./ocr_det_client_cp rm -rf ocr_det_client mv ocr_det_client_cp ocr_det_client - sed -i "s/feed_type: 1/feed_type: 3/g" ocr_det_client/serving_client_conf.prototxt + sed -i "s/feed_type: 1/feed_type: 20/g" ocr_det_client/serving_client_conf.prototxt sed -i "s/shape: 3/shape: 1/g" ocr_det_client/serving_client_conf.prototxt sed -i '7,8d' ocr_det_client/serving_client_conf.prototxt echo -e "${GREEN_COLOR}OCR_C++_Service_GPU_RPC server started${RES}"