modify menu on quick_start_multilabel_classification.md
parent
309dd1a46c
commit
7ce52d6fed
|
@ -5,18 +5,18 @@
|
|||
|
||||
## 目录
|
||||
|
||||
* [数据和模型准备](#1)
|
||||
* [模型训练](#2)
|
||||
* [模型评估](#3)
|
||||
* [模型预测](#4)
|
||||
* [基于预测引擎预测](#5)
|
||||
* [1. 数据和模型准备](#1)
|
||||
* [2. 模型训练](#2)
|
||||
* [3. 模型评估](#3)
|
||||
* [4. 模型预测](#4)
|
||||
* [5. 基于预测引擎预测](#5)
|
||||
* [5.1 导出inference model](#5.1)
|
||||
* [5.2 基于预测引擎预测](#5.2)
|
||||
|
||||
<a name="1"></a>
|
||||
## 一、数据和模型准备
|
||||
## 1. 数据和模型准备
|
||||
|
||||
* 进入PaddleClas目录。
|
||||
* 进入 `PaddleClas` 目录。
|
||||
|
||||
```
|
||||
cd path_to_PaddleClas
|
||||
|
@ -38,7 +38,7 @@ cd ../../
|
|||
```
|
||||
|
||||
<a name="2"></a>
|
||||
## 二、模型训练
|
||||
## 2. 模型训练
|
||||
|
||||
```shell
|
||||
export CUDA_VISIBLE_DEVICES=0,1,2,3
|
||||
|
@ -51,7 +51,8 @@ python3 -m paddle.distributed.launch \
|
|||
训练 10 epoch 之后,验证集最好的正确率应该在 0.95 左右。
|
||||
|
||||
<a name="3"></a>
|
||||
## 三、模型评估
|
||||
|
||||
## 3. 模型评估
|
||||
|
||||
```bash
|
||||
python3 tools/eval.py \
|
||||
|
@ -60,7 +61,7 @@ python3 tools/eval.py \
|
|||
```
|
||||
|
||||
<a name="4"></a>
|
||||
## 四、模型预测
|
||||
## 4. 模型预测
|
||||
|
||||
```bash
|
||||
python3 tools/infer.py \
|
||||
|
@ -74,7 +75,7 @@ python3 tools/infer.py \
|
|||
```
|
||||
|
||||
<a name="5"></a>
|
||||
## 五、基于预测引擎预测
|
||||
## 5. 基于预测引擎预测
|
||||
|
||||
<a name="5.1"></a>
|
||||
### 5.1 导出inference model
|
||||
|
|
Loading…
Reference in New Issue