Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleOCR
提交
13cc1f3c
P
PaddleOCR
项目概览
PaddlePaddle
/
PaddleOCR
大约 1 年 前同步成功
通知
1528
Star
32962
Fork
6643
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
108
列表
看板
标记
里程碑
合并请求
7
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleOCR
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
108
Issue
108
列表
看板
标记
里程碑
合并请求
7
合并请求
7
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
13cc1f3c
编写于
12月 09, 2020
作者:
W
WenmuZhou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
delete rename
上级
72cbcc23
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
12 addition
and
11 deletion
+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
未找到文件。
doc/doc_ch/inference.md
浏览文件 @
13cc1f3c
...
@@ -79,9 +79,9 @@ python3 tools/export_model.py -c configs/rec/ch_ppocr_v1.1/rec_chinese_lite_trai
...
@@ -79,9 +79,9 @@ python3 tools/export_model.py -c configs/rec/ch_ppocr_v1.1/rec_chinese_lite_trai
转换成功后,在目录下有三个文件:
转换成功后,在目录下有三个文件:
```
```
/inference/rec_crnn/
/inference/rec_crnn/
├── rec.pdiparams # 识别inference模型的参数文件
,需要重命名为params
├── rec.pdiparams # 识别inference模型的参数文件
├── rec.pdiparams.info # 识别inference模型的参数信息,可忽略
├── rec.pdiparams.info # 识别inference模型的参数信息,可忽略
└── rec.pdmodel # 识别inference模型的program文件
,需要重命名为model
└── rec.pdmodel # 识别inference模型的program文件
```
```
<a
name=
"方向分类模型转inference模型"
></a>
<a
name=
"方向分类模型转inference模型"
></a>
...
@@ -103,9 +103,9 @@ python3 tools/export_model.py -c configs/cls/cls_mv3.yml -o ./inference/cls/
...
@@ -103,9 +103,9 @@ python3 tools/export_model.py -c configs/cls/cls_mv3.yml -o ./inference/cls/
转换成功后,在目录下有三个文件:
转换成功后,在目录下有三个文件:
```
```
/inference/cls/
/inference/cls/
├── cls.pdiparams # 分类inference模型的参数文件
,需要重命名为params
├── cls.pdiparams # 分类inference模型的参数文件
├── cls.pdiparams.info # 分类inference模型的参数信息,可忽略
├── cls.pdiparams.info # 分类inference模型的参数信息,可忽略
└── cls.pdmodel # 分类inference模型的program文件
,需要重命名为model
└── cls.pdmodel # 分类inference模型的program文件
```
```
<a
name=
"文本检测模型推理"
></a>
<a
name=
"文本检测模型推理"
></a>
...
...
doc/doc_en/inference_en.md
浏览文件 @
13cc1f3c
...
@@ -58,9 +58,9 @@ When converting to an inference model, the configuration file used is the same a
...
@@ -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:
After the conversion is successful, there are three files in the model save directory:
```
```
inference/det_db/
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.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>
<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
...
@@ -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:
After the conversion is successful, there are three files in the model save directory:
```
```
inference/det_db/
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.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>
<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/
...
@@ -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:
After the conversion is successful, there are two files in the directory:
```
```
/inference/cls/
inference/det_db/
└─ model Identify the saved model files
├── rec.pdiparams # The parameter file of angle class inference model
└─ params Identify the parameter files of the 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
```
```
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录