Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
571341d2
Commit
571341d2
authored
Mar 09, 2022
by
LDOUBLEV
Browse files
fix serving doc
parent
94b8fab9
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
16 deletions
+7
-16
deploy/pdserving/README.md
deploy/pdserving/README.md
+6
-15
deploy/pdserving/README_CN.md
deploy/pdserving/README_CN.md
+1
-1
No files found.
deploy/pdserving/README.md
View file @
571341d2
...
...
@@ -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 paddle
paddle
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
```
...
...
deploy/pdserving/README_CN.md
View file @
571341d2
...
...
@@ -31,7 +31,7 @@ PaddleOCR提供2种服务部署方式:
需要准备PaddleOCR的运行环境和Paddle Serving的运行环境。
-
准备PaddleOCR的运行环境
[
链接
](
../../doc/doc_ch/installation.md
)
根据环境下载对应的paddle whl包,推荐安装2.
0.1
版本
根据环境下载对应的paddle
paddle
whl包,推荐安装2.
2.2
版本
-
准备PaddleServing的运行环境,步骤如下
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment