From 72f70587ba7b8db2b90059906fa46bea77b2a569 Mon Sep 17 00:00:00 2001 From: ZhangYulongg <1272816783@qq.com> Date: Tue, 7 Sep 2021 14:38:53 +0800 Subject: [PATCH] update string feed_type --- tools/scripts/ipipe_py3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/scripts/ipipe_py3.sh b/tools/scripts/ipipe_py3.sh index f3e3aa7e..cbc7a11a 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}" -- GitLab