From 855e2142c466580faed3ee66986d11cdfd1f0cdd Mon Sep 17 00:00:00 2001 From: MRXLT Date: Tue, 7 Apr 2020 15:40:38 +0800 Subject: [PATCH] update doc --- README.md | 6 ++++-- README_CN.md | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 491123c6..dbf0af46 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,9 @@ We consider deploying deep learning inference service online to be a user-facing We highly recommend you to run Paddle Serving in Docker, please visit [Run in Docker](https://github.com/PaddlePaddle/Serving/blob/develop/doc/RUN_IN_DOCKER.md) ```shell -pip install paddle-serving-client -pip install paddle-serving-server +pip install paddle-serving-client +pip install paddle-serving-server # CPU +pip install paddle-serving-server-gpu # GPU ``` You may need to use a domestic mirror source (in China, you can use the Tsinghua mirror source) to speed up the download. @@ -130,6 +131,7 @@ curl -H "Content-Type:application/json" -X POST -d '{"words": "我爱北京天 - **Description**: ``` shell Image classification trained with Imagenet dataset. A label and corresponding probability will be returned. +Note: This demo needs paddle-serving-server-gpu. ``` - **Download Servable Package**: diff --git a/README_CN.md b/README_CN.md index ee7d8419..5dc79854 100644 --- a/README_CN.md +++ b/README_CN.md @@ -39,7 +39,8 @@ Paddle Serving 旨在帮助深度学习开发者轻易部署在线预测服务 ```shell pip install paddle-serving-client -pip install paddle-serving-server +pip install paddle-serving-server # CPU +pip install paddle-serving-server-gpu # GPU ``` 您可能需要使用国内镜像源(例如清华源)来加速下载。 @@ -135,6 +136,7 @@ curl -H "Content-Type:application/json" -X POST -d '{"words": "我爱北京天 - **介绍**: ``` shell 图像分类模型由Imagenet数据集训练而成,该服务会返回一个标签及其概率 +注意:本示例需要安装paddle-serving-server-gpu ``` - **下载服务包**: -- GitLab