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

why is GPU version is slower than CPU version? #11

Open
duwangthefirst opened this issue Jul 28, 2021 · 1 comment
Open

why is GPU version is slower than CPU version? #11

duwangthefirst opened this issue Jul 28, 2021 · 1 comment

Comments

@duwangthefirst
Copy link

I've run the demo and find that the object detection process runs faster with option "CPU" instead of "GPU".
Is this NORMAL ?
I 'm using:

  • ncnn_20210720_android_vulkan
  • opencv_mobile_4_5_3_android
  • gradle 6.7.1
  • gradle plugin 4.2.2
@nihui
Copy link
Owner

nihui commented Jul 28, 2021

https://github.com/nihui/ncnn-android-nanodet#some-notes

Most small models run slower on GPU than on CPU, this is common

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

2 participants