Skip to content

Commit

Permalink
delete rename
Browse files Browse the repository at this point in the history
  • Loading branch information
WenmuZhou committed Dec 9, 2020
1 parent 72cbcc2 commit 13cc1f3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions doc/doc_ch/inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
15 changes: 8 additions & 7 deletions doc/doc_en/inference_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand All @@ -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
```


Expand Down

0 comments on commit 13cc1f3

Please sign in to comment.