PaddleClas/docs/zh_CN/installation/install_paddleclas.md

33 lines
655 B
Markdown
Raw Normal View History

2021-10-14 19:01:17 +08:00
# 安装 PaddleClas
---
2021-11-25 15:40:40 +08:00
## 目录
* [1. 克隆 PaddleClas](#1)
* [2. 安装 Python 依赖库](#2)
<a name='1'></a>
2021-10-14 19:01:17 +08:00
## 1. 克隆 PaddleClas
从 GitHub 下载:
```shell
git clone https://github.com/PaddlePaddle/PaddleClas.git -b release/2.3
```
如果访问 GitHub 网速较慢,可以从 Gitee 下载,命令如下:
```shell
git clone https://gitee.com/paddlepaddle/PaddleClas.git -b release/2.3
```
2021-11-25 15:40:40 +08:00
<a name='2'></a>
2021-10-14 19:01:17 +08:00
## 2. 安装 Python 依赖库
PaddleClas 的 Python 依赖库在 `requirements.txt` 中给出,可通过如下命令安装:
```shell
pip install --upgrade -r requirements.txt -i https://mirror.baidu.com/pypi/simple
```