nihui / ncnn-android-nanodet

372 stars 78 forks source link

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

Open duwangthefirst opened 3 years ago

duwangthefirst commented 3 years ago

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:

nihui commented 3 years ago

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

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