From 423e29ef04448132b64d52f422417140b5430ea0 Mon Sep 17 00:00:00 2001 From: littletomatodonkey Date: Thu, 11 Mar 2021 07:11:19 +0000 Subject: [PATCH] fix version, test=document_fix --- docs/en/tutorials/install_en.md | 11 +++++------ docs/zh_CN/tutorials/install.md | 10 +++++----- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/en/tutorials/install_en.md b/docs/en/tutorials/install_en.md index c2140ad0..0d3c831a 100644 --- a/docs/en/tutorials/install_en.md +++ b/docs/en/tutorials/install_en.md @@ -16,13 +16,13 @@ Python 3.x, CUDA 10.0, CUDNN7.6.4 nccl2.1.2 and later version are required at fi If you want to use PaddlePaddle on GPU, you can use the following command to install PaddlePaddle. ```bash -pip3 install paddlepaddle-gpu==2.0.0 --upgrade -i https://mirror.baidu.com/pypi/simple +pip3 install paddlepaddle-gpu --upgrade -i https://mirror.baidu.com/pypi/simple ``` If you want to use PaddlePaddle on CPU, you can use the following command to install PaddlePaddle. ```bash -pip3 install paddlepaddle==2.0.0 --upgrade -i https://mirror.baidu.com/pypi/simple +pip3 install paddlepaddle --upgrade -i https://mirror.baidu.com/pypi/simple ``` ### Install PaddlePaddle from source code @@ -53,13 +53,13 @@ Note: **Clone PaddleClas: ** ``` -git clone https://github.com/PaddlePaddle/PaddleClas.git -b release/2.0 +git clone https://github.com/PaddlePaddle/PaddleClas.git -b develop ``` If it is too slow for you to download from github, you can download PaddleClas from gitee. The command is as follows. ```bash -git clone https://gitee.com/paddlepaddle/PaddleClas.git -b release/2.0 +git clone https://gitee.com/paddlepaddle/PaddleClas.git -b develop ``` **Install requirements** @@ -71,8 +71,7 @@ pip3 install --upgrade -r requirements.txt -i https://mirror.baidu.com/pypi/simp If the install process of visualdl failed, you can try the following commands. ``` -pip3 install --upgrade visualdl==2.1.1 -i https://mirror.baidu.com/pypi/simple - +pip3 install --upgrade visualdl -i https://mirror.baidu.com/pypi/simple ``` What's more, visualdl is just supported in python3, so python3 is needed if you want to use visualdl. diff --git a/docs/zh_CN/tutorials/install.md b/docs/zh_CN/tutorials/install.md index c11ae302..ad0ff86f 100644 --- a/docs/zh_CN/tutorials/install.md +++ b/docs/zh_CN/tutorials/install.md @@ -16,13 +16,13 @@ 如果已经安装好了cuda、cudnn、nccl或者安装好了docker、nvidia-docker运行环境,可以pip安装最新GPU版本PaddlePaddle ```bash -pip3 install paddlepaddle-gpu==2.0.0 --upgrade -i https://mirror.baidu.com/pypi/simple +pip3 install paddlepaddle-gpu --upgrade -i https://mirror.baidu.com/pypi/simple ``` 如果希望在CPU环境中使用PaddlePaddle,可以运行下面的命令安装PaddlePaddle。 ```bash -pip3 install paddlepaddle==2.0.0 --upgrade -i https://mirror.baidu.com/pypi/simple +pip3 install paddlepaddle --upgrade -i https://mirror.baidu.com/pypi/simple ``` ### 源码编译PaddlePaddle @@ -61,13 +61,13 @@ python3 -c "import paddle; print(paddle.__version__)" **克隆PaddleClas模型库:** ```bash -git clone https://github.com/PaddlePaddle/PaddleClas.git -b release/2.0 +git clone https://github.com/PaddlePaddle/PaddleClas.git -b develop ``` 如果从github上网速太慢,可以从gitee下载,下载命令如下: ```bash -git clone https://gitee.com/paddlepaddle/PaddleClas.git -b release/2.0 +git clone https://gitee.com/paddlepaddle/PaddleClas.git -b develop ``` @@ -83,7 +83,7 @@ pip3 install --upgrade -r requirements.txt -i https://mirror.baidu.com/pypi/simp visualdl可能出现安装失败,请尝试 ```bash -pip3 install --upgrade visualdl==2.1.1 -i https://mirror.baidu.com/pypi/simple +pip3 install --upgrade visualdl -i https://mirror.baidu.com/pypi/simple ``` 此外,visualdl目前只支持在python3下运行,因此如果希望使用visualdl,需要使用python3。 -- GitLab