Questions tagged [tflite]
269 questions
0
votes
0 answers
Not able to build flutter application in android
When I run the application using the flutter run command in an android phone attached to the system, it shows me the below error. Not able to figure out what's the problem. Saw some github discussions on this, tried few solutions given by the…

Harshul Nanda
- 27
- 1
- 5
0
votes
1 answer
How to incorporate tflite-yolov4 in Android App ?(Kotlin)
Thanks for watch this post.I'm new to Android development.
If any information is missing for verification, please let me know.
I'm trying to incorporate yolov4.tflite in my App.
For confirmation of detection results,I make an AnalyzeActivity…

y_ok
- 55
- 7
0
votes
0 answers
Real time object detection with TFjs and React Native
how to use tflite model to the camera in the react native cli?
I implemented it with expo, but I need to implement it with tflite model in react native

zhale
- 1
- 1
- 1
0
votes
1 answer
Android Tensorflow Lite 2.9.0 AAR InterpreterAPI not found Error
As per our requirement, I want to add TF Lite AAR file into our project.
So I have downloaded AAR file(2.9.0) from Maven and added to my project.Then I can imports the Interpreter and other required things, but when I try to build and run the…

Madi TechApps
- 1
- 2
0
votes
0 answers
Optimizing tensorflow model using tflite but keeping .pb format
I have trained a keras model and for the inference I have to use the saved_model.pb format, but before that I would like to optimize my model using tflite. Is there a way to quantize/prune my model without turning it into .tflite format? There is…

Gustasvs
- 41
- 1
- 6
0
votes
0 answers
Tensorflow Lite C api fails to copy buffer to input tensor
I am working on a TfLite program that loads a model and should output a list of floats. Unlike typical examples online, I am not inferring on an image but on an input vector/list of floats (the model contains a MLP type of architecture).
The program…

davipeix
- 55
- 7
0
votes
0 answers
Recreating micro speech model from scratch
Hi I am trying to recreate the micro speech model from looking at the tflite structure.
Here is structure of the tflite
This is me trying recreate the model structure:
import tensorflow as tf
import tensorflow.keras.layers as layers
inputs =…

GILO
- 2,444
- 21
- 47
0
votes
0 answers
on running flutter project tflite is giving error
How to solve it. Help
I am facing these issues.

Syed Rehan
- 651
- 1
- 3
- 11
0
votes
1 answer
Tflite Object detection android app with custom dataset Crash immediately after running
I tried to run object detection TensorFlow lite with a custom dataset but I got these errors. After training my dataset and converting it to .tflite format and metadata I put it in the asserts folder directly and run the app but it will close…

Amir Alizadeh
- 41
- 1
- 7
0
votes
0 answers
How to create a dart model from a tflite file?
I'm a newer for Flutter and TensorFlow. I'm developping an face detection app and get face key points.
Learning from https://medium.com/@mundorap2010/face-detection-with-tflite-model-without-firebase-in-flutter-6eadf888f3b0, I don't know how to…

Apach3
- 41
- 6
0
votes
2 answers
How to seamlesly load different ML models in python?
Let's say I have my original .pt weights and I export them to ONNX, OpenVINO and TFLite. Is there a way of loading these models without needing to write a custom class that checks its type of instance and loads it accordingly?
OpenVINO model loading…

Mike B
- 2,136
- 2
- 12
- 31
0
votes
1 answer
How long can Android Camera2 run?
I'm a bit new to running Camera on Android devices, so I want to ask this quite unfamiliar question. How long can camera operate using the Camera2 API, so that it run continuously even from day to day? If so, is that efficient though?
A bit of…

ngojc
- 1
0
votes
1 answer
Failed to initialize tflite model in Flutter
I trained a custom yolo5 model, and then converted it to tflite. Model works completely fine in both stages. I want to use this model in Flutter.
Right now I am using Google ML kit models, which works perfectly fine, but when I replace their model…
0
votes
1 answer
Normalization in the Object Detection API
I'm quite confused of the normalization process when using the object detection api.
I'm using the SSD MobileNet v2 320x320 from the model zoo. In the pipeline config used for training I don't specify any additional preprocessing steps besides what…

Burschken
- 77
- 11
0
votes
1 answer
How to quantize pre-trained JAX model to TfLite model using tf.lite?
I have a pre-trained JAX model for MAXIM: Image Enhancement. Now to reduce the runtime and use it in production, I'll have to quantize the weights. I have 2 options since there is no direct conversion to ONNX.
JAX -> Tensorflow -> ONNX (Help…

Deshwal
- 3,436
- 4
- 35
- 94