fix inference

This commit is contained in:
LDOUBLEV 2021-09-09 11:04:13 +08:00
parent c1cc81c82e
commit fe90f163d8
2 changed files with 0 additions and 7 deletions

View File

@ -14,7 +14,6 @@
* [3.1 指标评估](#31-----)
* [3.2 测试检测效果](#32-------)
- [4. 模型导出与预测](#4--------)
* [4.1 转inference模型测试](#41--inference----)
- [5. FAQ](#5-faq)
<a name="1--------"></a>
@ -207,9 +206,6 @@ python3 tools/infer_det.py -c configs/det/det_mv3_db.yml -o Global.infer_img="./
<a name="4--------"></a>
# 4. 模型导出与预测
<a name="41--inference----"></a>
## 4.1 转inference模型测试
inference 模型(`paddle.jit.save`保存的模型)
一般是模型训练,把模型结构和模型参数保存在文件中的固化模型,多用于预测部署场景。
训练过程中保存的模型是checkpoints模型保存的只有模型的参数多用于恢复训练等。

View File

@ -13,7 +13,6 @@ This section uses the icdar2015 dataset as an example to introduce the training,
* [3.1 EVALUATION](#31-evaluation)
* [3.2 TEST](#32-test)
- [4. INFERENCE](#4-inference)
* [4.1 INFERENCE MODEL PREDICTION](#41-inference-model-prediction)
- [2. FAQ](#2-faq)
# 1 DATA AND WEIGHTS PREPARATIO
@ -200,8 +199,6 @@ python3 tools/infer_det.py -c configs/det/det_mv3_db.yml -o Global.infer_img="./
# 4. INFERENCE
## 4.1 INFERENCE MODEL PREDICTION
The inference model (the model saved by `paddle.jit.save`) is generally a solidified model saved after the model training is completed, and is mostly used to give prediction in deployment.
The model saved during the training process is the checkpoints model, which saves the parameters of the model and is mostly used to resume training.