edvardHua / PoseEstimationForMobile

:dancer: Real-time single person pose estimation for Android and iOS.
Apache License 2.0
1k stars 267 forks source link

The app doesn't seem to run on Android GPU #112

Closed gimgane closed 4 years ago

gimgane commented 4 years ago

Hi, thanks to your project I could test some tflite models on Android. Now I am trying to compare the performance between GPU and CPU, but there are some problems.

The only things I changed were:

But when I run the app there's no difference with the speed between CPU and GPU. It's weird because the original code of yours was definitely faster when GPU was selected.

I swear I didn't edit anything but I mentioned above. Should I update another values?

Thank you in advance.

gimgane commented 4 years ago

Suppose it's caused by the model's issue. Some of the models have differences between GPU/CPU while the others are not. I'll add more comments when the problem's figured out.