Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
13cc1f3c
Commit
13cc1f3c
authored
Dec 09, 2020
by
WenmuZhou
Browse files
delete rename
parent
72cbcc23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
doc/doc_ch/inference.md
doc/doc_ch/inference.md
+4
-4
doc/doc_en/inference_en.md
doc/doc_en/inference_en.md
+8
-7
No files found.
doc/doc_ch/inference.md
View file @
13cc1f3c
...
...
@@ -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>
...
...
doc/doc_en/inference_en.md
View file @
13cc1f3c
...
...
@@ -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
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment