From e609c3f30763945c7f36bf07931f7a791dbdc93f Mon Sep 17 00:00:00 2001 From: bjjwwang Date: Thu, 20 May 2021 10:36:49 +0000 Subject: [PATCH] win doc --- deploy/pdserving/README.md | 17 +++++++++++++++++ deploy/pdserving/README_CN.md | 19 +++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/deploy/pdserving/README.md b/deploy/pdserving/README.md index cb5e4bfa..fc079ed6 100644 --- a/deploy/pdserving/README.md +++ b/deploy/pdserving/README.md @@ -197,6 +197,23 @@ The recognition model is the same. 2021-05-13 03:42:36,979 chl2(In: ['rec'], Out: ['@DAGExecutor']) size[0/0] ``` +## WINDOWS Users + +Windows does not support Pipeline Serving, if we want to lauch paddle serving on Windows, we should use Web Service, for more infomation please refer to [Paddle Serving for Windows Users](https://github.com/PaddlePaddle/Serving/blob/develop/doc/WINDOWS_TUTORIAL.md) + + +1. Start Server + +``` +cd win +python3 ocr_web_server.py +``` + +2. Client Send Requests + +``` +python3 ocr_web_client.py +``` ## FAQ diff --git a/deploy/pdserving/README_CN.md b/deploy/pdserving/README_CN.md index 1e53cb63..23776017 100644 --- a/deploy/pdserving/README_CN.md +++ b/deploy/pdserving/README_CN.md @@ -193,6 +193,23 @@ python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_mobile_v2.0_rec_in 2021-05-13 03:42:36,979 chl2(In: ['rec'], Out: ['@DAGExecutor']) size[0/0] ``` +## WINDOWS用户 + +Windows用户不能使用上述的启动方式,需要使用Web Service,详情参见[Windows平台使用Paddle Serving指导](https://github.com/PaddlePaddle/Serving/blob/develop/doc/WINDOWS_TUTORIAL_CN.md) + + +1. 启动服务端程序 + +``` +cd win +python3 ocr_web_server.py +``` + +2. 发送服务请求 + +``` +python3 ocr_web_client.py +``` @@ -204,3 +221,5 @@ python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_mobile_v2.0_rec_in unset https_proxy unset http_proxy ``` + + -- GitLab