From 581f6a0eb8e9935e59b1b9ba46a6f8ce60ea5ba5 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 16 Aug 2022 13:54:59 +0000 Subject: [PATCH] docs: update --- docs/en/installation/install_paddleclas_en.md | 8 +++++++- docs/zh_CN/installation/install_paddleclas.md | 10 ++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/en/installation/install_paddleclas_en.md b/docs/en/installation/install_paddleclas_en.md index 332db694..2bd7d817 100644 --- a/docs/en/installation/install_paddleclas_en.md +++ b/docs/en/installation/install_paddleclas_en.md @@ -23,7 +23,13 @@ git clone https://gitee.com/paddlepaddle/PaddleClas.git -b develop -## 2. Install requirements +## 2. Install PaddleClas and requirements + +It is recommanded that installing from PyPI: + +```shell +pip install paddleclas +``` PaddleClas dependencies are listed in file `requirements.txt`, you can use the following command to install the dependencies. diff --git a/docs/zh_CN/installation/install_paddleclas.md b/docs/zh_CN/installation/install_paddleclas.md index e02acc6f..c18eaefd 100644 --- a/docs/zh_CN/installation/install_paddleclas.md +++ b/docs/zh_CN/installation/install_paddleclas.md @@ -19,7 +19,7 @@ #### 1.1(建议)使用 Docker 环境 -* 切换到工作目录下,例如工作目录为`/home/Projects`,则运行命令: +* 切换到工作目录下,例如工作目录为`/home/Projects`,则运行命令: ```shell cd /home/Projects @@ -88,7 +88,13 @@ git clone https://gitee.com/paddlepaddle/PaddleClas.git -b release/2.4 ``` -### 3. 安装 Python 依赖库 +### 3. 安装 PaddleClas 及其 Python 依赖库 + +建议直接从 PyPI 安装 PaddleClas: + +```shell +pip install paddleclas +``` PaddleClas 的 Python 依赖库在 `requirements.txt` 中给出,可通过如下命令安装: -- GitLab