-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Tensorflow Lite errors when running in iOS devices #7
Comments
the error that sticks out the most is: Usually, you will get this error if you run it on an emulator, but it seems like you are using a device. The most likely possibility is that your select ops haven’t been configured correctly. Have you force load it? Instructions here |
@Caldarie yes, I forced load as mentioned on documentation: And after specify the force load, I ran into iOS folder:
|
To check whether it’s a bug or not, can you load your model and labels on the example project provided in this repository? Can you tell me if you receive the same error? |
Yes @Caldarie, I tested using the example project and I had the same error... Also, I checked your iOS configurations for GTM models and are the same than mine. 😞 |
If it’s ok with you, would you be willing to share your model with me? It’s possible that google may of changed something, or the people responsible for iOS tensorflow made a breaking change. |
Yes, of course! Maybe you're right and some update from them breaks something... |
Hi @cmalbuquerque, I was able to run your model fine (as shown on the image below). There are few possibilities for your problem:
|
Thanks! Could you tell me what's your Xcode version? I reviewed all steps of my configuration and I noticed that when I run
And running
Also, if I replace my |
Hmm, I’ll get back to you about this problem As for Xcode version, I’m using 12.4 |
@Caldarie thanks for your time! |
Glad I could be of assistance! |
Running my application in iOS device (iPhone 7 with iOS 14.4) it crashes when the model is processing the data.
I believe that happens due to Tensorflow Lite Errors (see output) but I have no idea how to fix it:
I am using a Google Teachable Machine model and I followed these steps for iOS configuration.
I have tested already in Android device and it works perfectly but I need to guarantee iOS support!
The text was updated successfully, but these errors were encountered: