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
963dde7a
Commit
963dde7a
authored
Jul 14, 2020
by
littletomatodonkey
Browse files
fix readme
parent
77d9683c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
deploy/cpp_infer/readme.md
deploy/cpp_infer/readme.md
+5
-0
No files found.
deploy/cpp_infer/readme.md
View file @
963dde7a
...
@@ -195,3 +195,8 @@ sh tools/run.sh
...
@@ -195,3 +195,8 @@ sh tools/run.sh
<div
align=
"center"
>
<div
align=
"center"
>
<img
src=
"../imgs/cpp_infer_pred_12.png"
width=
"600"
>
<img
src=
"../imgs/cpp_infer_pred_12.png"
width=
"600"
>
</div>
</div>
### 2.3 注意
*
C++预测默认未开启MKLDNN(
`tools/config.txt`
中的
`use_mkldnn`
设置为0),如果需要使用MKLDNN进行预测加速,则需要将
`use_mkldnn`
修改为1,同时使用最新版本的Paddle源码编译预测库。在使用MKLDNN进行CPU预测时,如果同时预测多张图像,则会出现内存泄露的问题(不打开MKLDNN则没有该问题),目前该问题正在修复中,临时解决方案为:预测多张图片时,每隔30张图片左右对识别(
`CRNNRecognizer`
)和检测类(
`DBDetector`
)重新初始化一次。
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