Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

How to improve the performance on Android? #7

Open
AAAAAhuang opened this issue Jul 10, 2019 · 0 comments
Open

How to improve the performance on Android? #7

AAAAAhuang opened this issue Jul 10, 2019 · 0 comments

Comments

@AAAAAhuang
Copy link

Thanks a lot for the overall android project the author posted, it has saved the time for me to compile from source.
I use the caffe2 MobilenetV1-ssd model for object detection and it works. However, the same model costs about 2.2s to infer an image in my android phone (although with a cpu that is not good enough--qualcomm snapdragon 616), whereas it costs 500ms to infer an image on Window 7 with CPU.
I wonder if the caffe2::predictor is running using multithreads or not?If no, how to configure it ? Is there any way to improve the performance on android ?

Thanks a lot if someone could help me about this.

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

No branches or pull requests

1 participant