-
Notifications
You must be signed in to change notification settings - Fork 95
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
Invalid argument(s): Failed to lookup symbol 'TFLGpuDelegateCreate' : undefined symbol: TFLGpuDelegateCreate #82
Comments
Are you trying this on an emulator or a real device? |
Real device : |
While fixing i found out that the tflite version used by plugin in 2.12.0
|
If your model can run on CPU. Probably some operators are not supported by GPU. Maybe you can try to do GPU compatibility analysis when you do the Tflite model converting. https://www.tensorflow.org/lite/guide/model_analyzer |
yup i tried it ,the model i am using is not compatible with GPU |
@xyzacademic I am using a cnn custom tensorflow model with input 1 x 512 x 320 x 3 for corner detection ,it is working good on mid and high end devices but not good with low end (1 sec latency) ,any way to fix this ? Thats the reason why i was trying to use GpuDelegate |
I suggest designing the network with GPU-compatible operators. This is what I did. Maybe there is any other way I don't know. |
how much improvement did u get before and after ? |
The performance improvement of migrating CPU to GPU? Maybe twice faster. It depends on the model. |
Dart version : Dart SDK version: 2.19.6 (stable)
Flutter version : Flutter 3.7.9
tflite_flutter: ^0.10.0
Flutter code load interpreter :
Build Gradle :
The text was updated successfully, but these errors were encountered: