-
Notifications
You must be signed in to change notification settings - Fork 415
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
Crashing on iOS simulator with new labels/graph #3
Comments
Hi, Can you please try changing the output_size from 1000 to 2?
I think the app is crashing because the output array only has 2 valid values for the 2 labels, but the app tries to interpret more values which don't have labels. I will take a further look at why this doesn't happen with the mobilenet model. Thanks for reporting the issue. Regards, |
Good catch! That resolved my issue. Thanks so much for your help. |
Hello! I was very excited to find your plugin. I've forked the repo and tried replacing the graph and labels with my own, but it keeps crashing on iOS. Android seems to be working fine.
Here is my repo:
https://github.com/jordanmcadoo/flutter_tflite
And this is the output upon crash:
The text was updated successfully, but these errors were encountered: