Comments (8)
device is Android 6.0
from tflite_flutter_plugin.
Hi @GanZhiXiong, can you please confirm if this issue occurs only when using tflite_flutter
and not without that. How can I reproduce this issue?
from tflite_flutter_plugin.
I downloaded the zip code, opened it in Android Studio, compiled it to an Android phone, and reported this error
No problem running in iOS
from tflite_flutter_plugin.
I have another question. I'm not sure what your App is used for?
from tflite_flutter_plugin.
@GanZhiXiong This app uses text classifier model from TF Hub to classify a given text as positive (green) or negative(red).
For ex:. Good->green, Bad->red.
You can find more info here https://www.tensorflow.org/lite/models/text_classification/overview.
from tflite_flutter_plugin.
I downloaded the zip code, opened it in Android Studio, compiled it to an Android phone, and reported this error
No problem running in iOS
Thanks for clarifying, I will check it out.
from tflite_flutter_plugin.
Hi @GanZhiXiong, I think the problem is specifically with running on Android 6.0. Please try doing this,
- Remove this line https://github.com/am15h/tflite_flutter_plugin/blob/master/example/pubspec.yaml#L24 in your local project.
flutter pub get
- Comment out this https://github.com/am15h/tflite_flutter_plugin/blob/master/example/test/tflite_flutter_plugin_example_e2e.dart#L12 and https://github.com/am15h/tflite_flutter_plugin/blob/master/example/test/tflite_flutter_plugin_example_e2e.dart#L23 in your local project.
- In tflite_flutter_plugin/example execute
sh install.sh
(If you haven't already as explained in initial setup). - In tflite_flutter_plugin/example execute
flutter clean
. - Now try running.
from tflite_flutter_plugin.
Closing this issue. Feel free to reopen if error still persists.
from tflite_flutter_plugin.
Related Issues (20)
- Anyone implemented "Movnet lightning/thunder" with Metal Delegate (Experiencing memory issues) HOT 1
- Error (Xcode): Undefined symbol: _TfLiteInterpreterGetSignatureCount HOT 1
- Pub-Cache folder location Mac HOT 4
- Please make support for hexagon delegate HOT 2
- This repo is very great! HOT 1
- ImageEmbedder API HOT 1
- Bad state: failed precondition HOT 4
- Error (Xcode): Framework not found TensorFlowLiteC even I did exactly the instruction for iOS HOT 1
- ffi is not update, Please help
- Feature Request: Enabled Batch Processing
- not able to call the function HOT 1
- I have error when I build object detection desktop app HOT 2
- Null check operator used on a null value in the method interpreter.run([input], [output]); HOT 3
- Invalid argument(s): Failed to lookup symbol 'TFLGpuDelegateCreate' : undefined symbol: TFLGpuDelegateCreate
- Error in model prediction
- I/flutter (16401): Failed to run model: Bad state: failed precondition
- Invalid argument(s): Size of bounding box dimBouBoxension 1 is not 4. Got 25 in shape [1, 25] HOT 1
- Failed to load dynamic library HOT 1
- android Gradle plugin's Kotlin Gradle plugin version and tflite_flutter_helper's version isn't matched HOT 1
- How to build tensorflowlite c++ library for iOS using bazel? (TensorFlowLiteC++_framework)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tflite_flutter_plugin.