diff --git a/docs/en/inference_deployment/whl_deploy_en.md b/docs/en/inference_deployment/whl_deploy_en.md index e2666458a27f55bdb44f5fcb2646ba9107e80163..7c94f6ded4a02548012f536e222ffebb84254c21 100644 --- a/docs/en/inference_deployment/whl_deploy_en.md +++ b/docs/en/inference_deployment/whl_deploy_en.md @@ -25,17 +25,16 @@ PaddleClas supports Python wheel package for prediction. At present, PaddleClas ## 1. Installation -* installing from pypi +* **[Recommended]** Installing from PyPI: ```bash -pip3 install paddleclas==2.2.1 +pip3 install paddleclas ``` -* build own whl package and install +* Please build and install locally if you need to use the develop branch of PaddleClas to experience the latest functions, or need to redevelop based on PaddleClas. The command is as follows: ```bash -python3 setup.py bdist_wheel -pip3 install dist/* +python3 setup.py install ``` diff --git a/docs/en/installation/install_paddleclas_en.md b/docs/en/installation/install_paddleclas_en.md index 2bd7d8173f643a723845947301a76c72aeae4714..c71d3516e246bdf93a217b868e907369a7b478a9 100644 --- a/docs/en/installation/install_paddleclas_en.md +++ b/docs/en/installation/install_paddleclas_en.md @@ -25,14 +25,14 @@ git clone https://gitee.com/paddlepaddle/PaddleClas.git -b develop ## 2. Install PaddleClas and requirements -It is recommanded that installing from PyPI: +* **[Recommended]** 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. +* Please build and install locally if you need to use the develop branch of PaddleClas to experience the latest functions, or need to redevelop based on PaddleClas. The command is as follows: -``` -pip install --upgrade -r requirements.txt -i https://mirror.baidu.com/pypi/simple +```shell +python setup.py install ``` diff --git a/docs/zh_CN/inference_deployment/whl_deploy.md b/docs/zh_CN/inference_deployment/whl_deploy.md index 0b84c83e5c846dea76f26334a652ec2a9e819cba..1f8b8995b93f393ed91c774b03ed9bc9101a3961 100644 --- a/docs/zh_CN/inference_deployment/whl_deploy.md +++ b/docs/zh_CN/inference_deployment/whl_deploy.md @@ -23,17 +23,16 @@ PaddleClas 支持 Python Whl 包方式进行预测,目前 Whl 包方式仅支 ## 1. 安装 paddleclas -* pip 安装 +* **[推荐]** 直接 pip 安装: ```bash -pip3 install paddleclas==2.2.1 +pip3 install paddleclas ``` -* 本地构建并安装 +* 如需使用 PaddleClas develop 分支体验最新功能,或是需要基于 PaddleClas 进行二次开发,请本地构建安装: ```bash -python3 setup.py bdist_wheel -pip3 install dist/* +python3 setup.py install ``` diff --git a/docs/zh_CN/installation/install_paddleclas.md b/docs/zh_CN/installation/install_paddleclas.md index 108033ed092ec7130145724d40f8498dca453127..752b81ad69296c1cdd3f4c5aa387f35e1a7108b7 100644 --- a/docs/zh_CN/installation/install_paddleclas.md +++ b/docs/zh_CN/installation/install_paddleclas.md @@ -98,16 +98,16 @@ git clone https://gitee.com/paddlepaddle/PaddleClas.git -b release/2.4 ### 1.3 安装 PaddleClas 及其 Python 依赖库 -建议直接从 PyPI 安装 PaddleClas: +* **[建议]** 直接安装 PaddleClas: ```shell pip install paddleclas ``` -PaddleClas 的 Python 依赖库在 `requirements.txt` 中给出,可通过如下命令安装: +* 如需使用 PaddleClas develop 分支体验最新功能,或是需要基于 PaddleClas 进行二次开发,请本地构建安装,命令如下: ```shell -pip install --upgrade -r requirements.txt -i https://mirror.baidu.com/pypi/simple +python setup.py install ```