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

Performance become very slow when using multiple threads to do net_->Forward(); #113

Open
TianBinyu opened this issue Aug 24, 2017 · 0 comments

Comments

@TianBinyu
Copy link

TianBinyu commented Aug 24, 2017

When i am running caffe in android platform, the performance become very slow if i use multiple threads to do prediction, if there is any solution for that?( CPU only~ not GPU)

Thank you very much
ps:
if i use one thread to predict 1 image, it will cost 100 ms. 4 image will cost 400 ms(first prediction will cost 300-400 ms)
But when i created 4 thread to predict 4 image at same time, one image will cost more than 500-600 ms... :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant