diff --git a/doc/doc_ch/inference.md b/doc/doc_ch/inference.md index 805414d32207a8dfb90695ec3d2702fcd658035a..a37b50df6ac6c6a16df418c6eca0d2a6f953a36a 100644 --- a/doc/doc_ch/inference.md +++ b/doc/doc_ch/inference.md @@ -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文件 ``` @@ -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文件 ``` diff --git a/doc/doc_en/inference_en.md b/doc/doc_en/inference_en.md index 8ce0ea4d27300cad4d0a114b3b49532878e639ed..e103c6c6407b3c58fb381788e8b257cb6fb43a31 100644 --- a/doc/doc_en/inference_en.md +++ b/doc/doc_en/inference_en.md @@ -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 ``` @@ -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 ``` @@ -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 ```