Questions tagged [tflite]
269 questions
0
votes
0 answers
TFLite evaluation: ValueError: could not broadcast input array from shape (128,128,3) into shape (1,)
I'm trying to emulate the code from https://www.tensorflow.org/model_optimization/guide/quantization/training_example. More precisely, evaluating the TFLite model against the baseline model.
def evaluate_model(interpreter):
input_index =…

Luska
- 1
- 1
0
votes
0 answers
Tflite Image classification prediction always shows the same label for Flutter
Problem
I created a workbook in which I classify images on if they are a hotdog or not as a multi-label classification problem. I use the MobileNetv2 architecture trained on ImageNet weights. When testing the model before I converted it into the…

SmiffyKmc
- 801
- 1
- 16
- 34
0
votes
1 answer
Unable to obtain boxes for a TFLITE Yolov5 model
I trained a model allowing the detection of '+' characters on an image thanks to Yolov5. I want to use this model in TFLITE. However, when I infer an image in the model, I have trouble interpreting the output.
Here is how I infer in my model…

Maxime R.
- 3
- 1
0
votes
1 answer
TensorFlow ModuleNotFoundError: No module named 'official.nlp.bert'
I'm following the TenslorFlow TFlite basic text classification tutorial, but the third import line throws an error:
from tensorflow_examples.lite.model_maker.core.data_util import image_dataloader
ModuleNotFoundError: No module named…

Salvatore
- 10,815
- 4
- 31
- 69
0
votes
1 answer
How to know if a .tflite file can run on a specific edge device in C++ before attempting inference?
I am trying to write a logic that checks to see whether an Android device is capable of runniing an inference of a given .tflite file.
How can I go about implementing a logic for device-model compatibility in C++?

Onur-Andros Ozbek
- 2,998
- 2
- 29
- 78
0
votes
1 answer
How to implement ML model's code in android studio and get output from it?
I am trying to detect sign recognition by the use of tfLite model. I have imported the tfLite model and passed the bitmap but when I run the app,Nothing happens. To get where is problem I have added 5 toast but only 1st toast runs successfully. I…

PRAJWAL
- 11
- 2
0
votes
2 answers
How to retrieve class_name in detect.py example of TensorFlowLite?
I'm using the detect.py script from the official tensorflow lite examples for the raspberry pi. I want to print the the class name of the detected object. For example, if the object recognition model detected a surgical mask, it will print a…
0
votes
1 answer
Converting .lite to. tflite format
Currently, I am evaluating Edge Impulse platform & generated .lite model.
Can anyone please guide me how to convert the .lite model to. tflite?

DeepVoice
- 21
- 1
0
votes
1 answer
How to export YOLOv5 model to Tensorflow Lite
I would like to ask some help. I've been struggling about how to convert Yolov5 model to Tensorflow lite. Any suggestion guys, how can I convert my Yolov5 model to tensorflow lite?

exiled_coder
- 1
- 1
-1
votes
0 answers
Why does my detect.py return detection from old frames?
I am creating a Waste Segregation Robot. I am implementing a Delta Robot made from MG946R RC hobby Servo and a Raspberry Pi 4B+ 4GB(Headless via VNC Viewer). I am using the official power supply and a acrylic case with fan. The object detection is…

suren711
- 1
- 2
-1
votes
0 answers
Problem with class integer type using Azure Custom Vision tflite model with flutter-tflite
I am using a tensorflow lite model created in Azure Custom Vision.
The model returns a tensor consisting of 4 lists .
Here is my output specification
final output = {
0: List
- >.filled(64, List
-1
votes
0 answers
How to Integrate TFLite Model to Kotlin Jetpack Compose?
I'm stuck trying to deploy my model on my android app.
Object TensorFlowLiteHelper is running without errors but I can't connect it to my homescreen classification button to activate my trained CNN model. I'm expecting that after classifying an…

Devuixe
- 9
- 1
-1
votes
1 answer
Class 1 not being classified, what could be wrong?
I am using deep learning for a project and after training a model, I used X_test & y_test to validate the model and my accuracy was over 99%. However, when I used TFLite to compress the model and then used Interpreter for inferencing, the output of…

Frenzy
- 23
- 5
-1
votes
1 answer
How to remove an object from the trained model in .pb format?
Iam training tello drone to detecting the cars, so I use this code here: https://github.com/Shreyas-dotcom/Tello_Obj_Recognition, but the code contain others objects names such as bike. So my question is: How can I remove others objects from the…

Shalaw Mshir
- 7
- 4