install_paddleclas_en.md 822 字节
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
## 2. Install PaddleClas and requirements

G
gaotingquan 已提交
28
* **[Recommended]** Installing from PyPI:
R
root 已提交
29 30 31 32

```shell
pip install paddleclas
```
G
gaotingquan 已提交
33

G
gaotingquan 已提交
34
* 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:
G
gaotingquan 已提交
35

G
gaotingquan 已提交
36 37
```shell
python setup.py install
G
gaotingquan 已提交
38
```