Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_41840029
PaddleOCR
提交
7ec71754
P
PaddleOCR
项目概览
weixin_41840029
/
PaddleOCR
与 Fork 源项目一致
Fork自
PaddlePaddle / PaddleOCR
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleOCR
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
7ec71754
编写于
3月 24, 2021
作者:
L
LDOUBLEV
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refine server readme
上级
90c3304c
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
11 addition
and
4 deletion
+11
-4
deploy/pdserving/README.md
deploy/pdserving/README.md
+7
-4
deploy/pdserving/README_CN.md
deploy/pdserving/README_CN.md
+4
-0
未找到文件。
deploy/pdserving/README.md
浏览文件 @
7ec71754
...
...
@@ -2,7 +2,7 @@
(English|
[
简体中文
](
./README_CN.md
)
)
PaddleOCR provides
2
service deployment methods:
PaddleOCR provides
two
service deployment methods:
-
Based on
**PaddleHub Serving**
: Code path is "
`./deploy/hubserving`
". Please refer to the
[
tutorial
](
../../deploy/hubserving/readme_en.md
)
-
Based on
**PaddleServing**
: Code path is "
`./deploy/pdserving`
". Please follow this tutorial.
...
...
@@ -27,11 +27,11 @@ The introduction and tutorial of Paddle Serving service deployment framework ref
<a
name=
"environmental-preparation"
></a>
## Environmental preparation
Need to prepare PaddleOCR operating environment and Paddle Serving operating environment
.
PaddleOCR operating environment and Paddle Serving operating environment are needed
.
1.
Prepare PaddleOCR operating environment reference
[
link
](
../../doc/doc_ch/installation.md
)
.
1.
P
lease p
repare PaddleOCR operating environment reference
[
link
](
../../doc/doc_ch/installation.md
)
.
2.
Prepare the operating environment of PaddleServing, the steps are as follows
2.
The steps of PaddleServing operating environment prepare are as follows:
Install serving which used to start the service
```
...
...
@@ -78,6 +78,9 @@ wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_server_v2.0_det_in
# Download and unzip the OCR text recognition model
wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_server_v2.0_rec_infer.tar && tar xf ch_ppocr_server_v2.0_rec_infer.tar
```
Then, you can use installed paddle_serving_client tool to convert inference model to server model.
```
# Detection model conversion
python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_server_v2.0_det_infer/ \
--model_filename inference.pdmodel \
...
...
deploy/pdserving/README_CN.md
浏览文件 @
7ec71754
...
...
@@ -79,7 +79,11 @@ PaddleOCR提供2种服务部署方式:
wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_server_v2.0_det_infer.tar && tar xf ch_ppocr_server_v2.0_det_infer.tar
# 下载并解压 OCR 文本识别模型
wget https://paddleocr.bj.bcebos.com/dygraph_v2.0/ch/ch_ppocr_server_v2.0_rec_infer.tar && tar xf ch_ppocr_server_v2.0_rec_infer.tar
```
接下来,用安装的paddle_serving_client把下载的inference模型转换成易于server部署的模型格式。
```
# 转换检测模型
python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_server_v2.0_det_infer/ \
--model_filename inference.pdmodel \
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录