-
Notifications
You must be signed in to change notification settings - Fork 127
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
We need new versions of tflite binaries #3
Comments
This'll come at some point soon. There's 2-3 years of updates to do to make this work :) |
Alright another contributor and I did a quick pass to at least make the examples work using the older (2.5) version of TensorFlow. Android and iOS should be usable now - you'll just need to copy the files from https://github.com/tensorflow/flutter-tflite/tree/main/releases/download/android into your project's /android/app/src/main/jniLibs directory for using an Android app (that's really all the install.sh and install.bat files did, but it was an extra layer of complexity that I kept seeing pop up in the issues). |
Thank you! The |
I didn't realize that would be blocked in China, so that's interesting! Generally I'd host those files in a Google Cloud storage bucket, but the last time I was in China that was also blocked. The one thing I can think of is when this gets updated from TFLite 2.5 to TFLite 2.9 (this will include some necessary refactoring in the dart code, as well as the example apps - I'm honestly not sure how large of a task this will be, but a PR from the community would be greatly appreciated), that should support gradle dependencies that include the delegates:
Those are the actual versions I'd use to start, too, since I believe the Play services TFLite dependencies would be blocked. |
Closing this out in favor of #16 since new binaries are built, but the plugin will need to be updated to support play services. |
To use the plugin, an initial setup, which is marked important in the README, is needed. However, the links in the
install.sh
andinstall.bat
still refer to the origin releases, and they are already expired. We need the latest versions of tflite binaries as releases, to replace the url in the initial setup scripts.And also, we need to publish a new wiki to guide the users to build their own versions of tflite binaries. I've successfully done this, but there's still something baffle me, especially the usage of bazzel.
The text was updated successfully, but these errors were encountered: