Comments (6)
Hi Daniel,
What do you mean by using more labels? The library reads labels from the asset file you assigned to loadModel() method.
Thanks,
Qian
from flutter_tflite.
Well, I tried to use just a MobileNet model and found a problem, wrong dimensions compared with the java array. To see a problem, try to load "MobileNet" model with txt which follows
from flutter_tflite.
@Renesanse Do you mean another number of detections? Because when I tried to use retrained model I got error like [1,10,4] isn't [1,16,4]. After changing that const, everything went well, though I have different labels.
from flutter_tflite.
Not a number of detections, I would like to use different tf model from example with 1000 names.
from flutter_tflite.
MobileNet is image classification model. Instead of detectObjectOnImage method, please use runModelOnImage.
https://github.com/shaqian/flutter_tflite#image-classification
from flutter_tflite.
ok, thx
from flutter_tflite.
Related Issues (20)
- FAILURE: Build failed with an exception.What went wrong: Execution failed for task ':app:checkDebugAarMetadata'.
- Async Task is Deprecated
- Build file '/Users/macbookpro/Developer/flutter/.pub-cache/hosted/pub.dartlang.org/tflite-1.1.2/android/build.gradle' line: 24 HOT 7
- Last dart version is not supported
- The plugin `tflite` uses a deprecated version of the Android embedding. HOT 2
- Is this package abandoned? HOT 1
- PLEASE UPDATE THIS VERSION OF TFLITE huhuhu HOT 1
- [!] No podspec found for `flutter_tflite` in `.symlinks/plugins/flutter_tflite/ios` HOT 13
- Deprecated version of the Android embedding HOT 1
- app crashed while deploying tflite loaded model and Android V2 Embedding error HOT 1
- Do not support version greater than 3
- Can I build desktop app by this package?
- E/AndroidRuntime( 4563): Caused by: java.lang.IllegalArgumentException: Cannot copy from a TensorFlowLite tensor (StatefulPartitionedCall:0) with shape [1, 10647, 6] to a Java object with shape [1, 13, 13, 30]. HOT 1
- runModelOnImage returns null HOT 1
- I have a issue in runSegmentationOnImage
- The plugin `tflite` uses a deprecated version of the Android embedding. HOT 1
- The plugin `tflite` uses a deprecated version of the Android embedding. HOT 1
- got this error when running flutter project HOT 3
- Unhandled Exception: PlatformException(Failed to run model, Interpreter busy, java.lang.RuntimeException: Interpreter busy HOT 3
- Can anyone help giving this code in Flutter HOT 2
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 flutter_tflite.