ncnn-android-nanodet icon indicating copy to clipboard operation
ncnn-android-nanodet copied to clipboard

why is GPU version is slower than CPU version?

Open duwangthefirst opened this issue 3 years ago • 1 comments

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

duwangthefirst avatar Jul 28 '21 03:07 duwangthefirst

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

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

nihui avatar Jul 28 '21 03:07 nihui