diff --git a/docs/en/installation/install_paddleclas_en.md b/docs/en/installation/install_paddleclas_en.md index 332db6942..2bd7d8173 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 e02acc6fd..c18eaefd8 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` 中给出,可通过如下命令安装: