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
3aab76dd
Commit
3aab76dd
authored
Nov 04, 2021
by
tink2123
Browse files
update serving doc
parent
1679ef13
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
deploy/pdserving/README.md
deploy/pdserving/README.md
+1
-1
deploy/pdserving/README_CN.md
deploy/pdserving/README_CN.md
+2
-2
No files found.
deploy/pdserving/README.md
View file @
3aab76dd
...
@@ -114,7 +114,7 @@ The recognition model is the same.
...
@@ -114,7 +114,7 @@ The recognition model is the same.
git clone https://github.com/PaddlePaddle/PaddleOCR
git clone https://github.com/PaddlePaddle/PaddleOCR
# Enter the working directory
# Enter the working directory
cd PaddleOCR/deploy/pdserv
er
/
cd PaddleOCR/deploy/pdserv
ing
/
```
```
The pdserver directory contains the code to start the pipeline service and send prediction requests, including:
The pdserver directory contains the code to start the pipeline service and send prediction requests, including:
...
...
deploy/pdserving/README_CN.md
View file @
3aab76dd
...
@@ -112,7 +112,7 @@ python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_mobile_v2.0_rec_in
...
@@ -112,7 +112,7 @@ python3 -m paddle_serving_client.convert --dirname ./ch_ppocr_mobile_v2.0_rec_in
git clone https://github.com/PaddlePaddle/PaddleOCR
git clone https://github.com/PaddlePaddle/PaddleOCR
# 进入到工作目录
# 进入到工作目录
cd PaddleOCR/deploy/pdserv
er
/
cd PaddleOCR/deploy/pdserv
ing
/
```
```
pdserver目录包含启动pipeline服务和发送预测请求的代码,包括:
pdserver目录包含启动pipeline服务和发送预测请求的代码,包括:
```
```
...
@@ -206,7 +206,7 @@ pip3 install paddle-serving-app==0.3.1
...
@@ -206,7 +206,7 @@ pip3 install paddle-serving-app==0.3.1
1.
启动服务端程序
1.
启动服务端程序
```
```
cd win
cd win
python3 ocr_web_server.py gpu(使用gpu方式)
python3 ocr_web_server.py gpu(使用gpu方式)
或者
或者
python3 ocr_web_server.py cpu(使用cpu方式)
python3 ocr_web_server.py cpu(使用cpu方式)
...
...
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