From 571341d2e843563e1f1169c8b1dab09e87ad33ca Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 9 Mar 2022 17:14:56 +0800 Subject: [PATCH] fix serving doc --- deploy/pdserving/README.md | 21 ++++++--------------- deploy/pdserving/README_CN.md | 2 +- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/deploy/pdserving/README.md b/deploy/pdserving/README.md index 37b97589..ecdd23ad 100644 --- a/deploy/pdserving/README.md +++ b/deploy/pdserving/README.md @@ -34,35 +34,26 @@ The introduction and tutorial of Paddle Serving service deployment framework ref PaddleOCR operating environment and Paddle Serving operating environment are needed. 1. Please prepare PaddleOCR operating environment reference [link](../../doc/doc_ch/installation.md). - Download the corresponding paddle whl package according to the environment, it is recommended to install version 2.0.1. + Download the corresponding paddlepaddle whl package according to the environment, it is recommended to install version 2.2.2. 2. The steps of PaddleServing operating environment prepare are as follows: - Install serving which used to start the service - ``` - pip3 install paddle-serving-server==0.6.1 # for CPU - pip3 install paddle-serving-server-gpu==0.6.1 # for GPU - # Other GPU environments need to confirm the environment and then choose to execute the following commands - pip3 install paddle-serving-server-gpu==0.6.1.post101 # GPU with CUDA10.1 + TensorRT6 - pip3 install paddle-serving-server-gpu==0.6.1.post11 # GPU with CUDA11 + TensorRT7 - ``` - -3. Install the client to send requests to the service ```bash -# 安装serving,用于启动服务 +# Install serving which used to start the service wget https://paddle-serving.bj.bcebos.com/test-dev/whl/paddle_serving_server_gpu-0.7.0.post102-py3-none-any.whl pip3 install paddle_serving_server_gpu-0.7.0.post102-py3-none-any.whl -# 如果是cuda10.1环境,可以使用下面的命令安装paddle-serving-server + +# Install paddle-serving-server for cuda10.1 # wget https://paddle-serving.bj.bcebos.com/test-dev/whl/paddle_serving_server_gpu-0.7.0.post101-py3-none-any.whl # pip3 install paddle_serving_server_gpu-0.7.0.post101-py3-none-any.whl -# 安装client,用于向服务发送请求 +# Install serving which used to start the service wget https://paddle-serving.bj.bcebos.com/test-dev/whl/paddle_serving_client-0.7.0-cp37-none-any.whl pip3 install paddle_serving_client-0.7.0-cp37-none-any.whl -# 安装serving-app +# Install serving-app wget https://paddle-serving.bj.bcebos.com/test-dev/whl/paddle_serving_app-0.7.0-py3-none-any.whl pip3 install paddle_serving_app-0.7.0-py3-none-any.whl ``` diff --git a/deploy/pdserving/README_CN.md b/deploy/pdserving/README_CN.md index 2652ddeb..d50aff48 100644 --- a/deploy/pdserving/README_CN.md +++ b/deploy/pdserving/README_CN.md @@ -31,7 +31,7 @@ PaddleOCR提供2种服务部署方式: 需要准备PaddleOCR的运行环境和Paddle Serving的运行环境。 - 准备PaddleOCR的运行环境[链接](../../doc/doc_ch/installation.md) - 根据环境下载对应的paddle whl包,推荐安装2.0.1版本 + 根据环境下载对应的paddlepaddle whl包,推荐安装2.2.2版本 - 准备PaddleServing的运行环境,步骤如下 -- GitLab