fix version, test=document_fix

pull/650/head
littletomatodonkey 2021-03-11 07:11:19 +00:00 committed by Tingquan Gao
parent 9cf3bdbf8b
commit 423e29ef04
2 changed files with 10 additions and 11 deletions
docs
en/tutorials
zh_CN/tutorials

View File

@ -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.

View File

@ -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。