install_paddleclas_en.md 812 字节
Newer Older
G
gaotingquan 已提交
1 2 3 4
# Install PaddleClas

---

G
gaotingquan 已提交
5
## Catalogue
G
gaotingquan 已提交
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

* [1. Clone PaddleClas source code](#1)
* [2. Install requirements](#2)

<a name='1'></a>

### 1. Clone PaddleClas source code

```shell
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.

```shell
git clone https://gitee.com/paddlepaddle/PaddleClas.git -b develop
```

<a name='2'></a>

R
root 已提交
26 27 28 29 30 31 32
## 2. Install PaddleClas and requirements

It is recommanded that installing from PyPI:

```shell
pip install paddleclas
```
G
gaotingquan 已提交
33 34 35 36 37 38

PaddleClas dependencies are listed in file `requirements.txt`, you can use the following command to install the dependencies.

```
pip install --upgrade -r requirements.txt -i https://mirror.baidu.com/pypi/simple
```