Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paddle 多线程预测异常 #4227

Closed
VamWolf opened this issue Sep 20, 2017 · 2 comments
Closed

paddle 多线程预测异常 #4227

VamWolf opened this issue Sep 20, 2017 · 2 comments
Labels
User 用于标记用户问题

Comments

@VamWolf
Copy link

VamWolf commented Sep 20, 2017

如题,现在线上多线程,丢数据,只能单线程,性能堪忧.

@QiJune
Copy link
Member

QiJune commented Sep 20, 2017

请详细描述问题背景,capi的多线程预测请参考https://github.com/PaddlePaddle/Paddle/tree/develop/paddle/capi/examples/model_inference/multi_thread

@lcy-seso lcy-seso added the User 用于标记用户问题 label Sep 20, 2017
@VamWolf
Copy link
Author

VamWolf commented Sep 21, 2017

swig_paddle.initPaddle("--trainer_count=1") , 是这个参数,如果trainer_count 设置大于1 ,就会丢数据

@QiJune QiJune changed the title paddle 多线程丢包??? paddle 多线程预测异常 Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
User 用于标记用户问题
Projects
None yet
Development

No branches or pull requests

4 participants