delete rename

This commit is contained in:
WenmuZhou 2020-12-09 18:38:27 +08:00
parent 72cbcc23e1
commit 13cc1f3c41
2 changed files with 12 additions and 11 deletions

View File

@ -79,9 +79,9 @@ python3 tools/export_model.py -c configs/rec/ch_ppocr_v1.1/rec_chinese_lite_trai
转换成功后,在目录下有三个文件:
```
/inference/rec_crnn/
├── rec.pdiparams # 识别inference模型的参数文件需要重命名为params
├── rec.pdiparams # 识别inference模型的参数文件
├── rec.pdiparams.info # 识别inference模型的参数信息可忽略
└── rec.pdmodel # 识别inference模型的program文件需要重命名为model
└── rec.pdmodel # 识别inference模型的program文件
```
<a name="方向分类模型转inference模型"></a>
@ -103,9 +103,9 @@ python3 tools/export_model.py -c configs/cls/cls_mv3.yml -o ./inference/cls/
转换成功后,在目录下有三个文件:
```
/inference/cls/
├── cls.pdiparams # 分类inference模型的参数文件需要重命名为params
├── cls.pdiparams # 分类inference模型的参数文件
├── cls.pdiparams.info # 分类inference模型的参数信息可忽略
└── cls.pdmodel # 分类inference模型的program文件需要重命名为model
└── cls.pdmodel # 分类inference模型的program文件
```
<a name="文本检测模型推理"></a>

View File

@ -58,9 +58,9 @@ When converting to an inference model, the configuration file used is the same a
After the conversion is successful, there are three files in the model save directory:
```
inference/det_db/
├── det.pdiparams # The parameter file of detection inference model which needs to be renamed to params
├── det.pdiparams # The parameter file of detection inference model
├── det.pdiparams.info # The parameter information of detection inference model, which can be ignored
└── det.pdmodel # The program file of detection inference model which needs to be renamed to model
└── det.pdmodel # The program file of detection inference model
```
<a name="Convert_recognition_model"></a>
@ -84,9 +84,9 @@ If you have a model trained on your own dataset with a different dictionary file
After the conversion is successful, there are three files in the model save directory:
```
inference/det_db/
├── rec.pdiparams # The parameter file of recognition inference model which needs to be renamed to params
├── rec.pdiparams # The parameter file of recognition inference model
├── rec.pdiparams.info # The parameter information of recognition inference model, which can be ignored
└── rec.pdmodel # The program file of detection recognition model which needs to be renamed to model
└── rec.pdmodel # The program file of recognition model
```
<a name="Convert_angle_class_model"></a>
@ -107,9 +107,10 @@ python3 tools/export_model.py -c configs/cls/cls_mv3.yml -o ./inference/cls/
After the conversion is successful, there are two files in the directory:
```
/inference/cls/
└─ model Identify the saved model files
└─ params Identify the parameter files of the inference model
inference/det_db/
├── rec.pdiparams # The parameter file of angle class inference model
├── rec.pdiparams.info # The parameter information of angle class inference model, which can be ignored
└── rec.pdmodel # The program file of angle class model
```