Questions tagged [tflite]
269 questions
0
votes
0 answers
Image Segmentation in Flutter using deeplabv3 or another method but google ml kit
I developed app to remove image background using google MLKit Image. Image Segmentation does not give prices results., i studied Deeplabv3 has precise results.
link is…

karamat subhani
- 1
- 2
0
votes
0 answers
problem with converting .tflite model to .h using xxd -i model.tflite > model.h
when ever i try to convert my TensorFlow lite model from .tflite to .h model the file size before conversion is 1.9mb and after conversion its 11.5mb and I need to deploy it on esp32 but I don't know what am gonna to do that since the file size is…

saeed adeeb
- 1
- 1
0
votes
1 answer
Flutter android bug on using tensorflow package tflite_flutter
I'm trying to use tensorflow lite packages from new flutter project connecting my samsung phone. I have only modified in android/app/build.gradle file
compileSdkVersion 31
minSdkVersion 21
targetSdkVersion 31
and in…

Flutter Boi
- 31
- 2
0
votes
1 answer
how to use mobilenetV3 small to train my custom dataset for object detection?
i want to train my dataset using mobilenetv3 small for object detection using google Colab. but its not provided in the model zoo. and i cant find the config file to train the model. is there any other way ? a link to the config file will help. I…

saeed adeeb
- 1
- 1
0
votes
0 answers
How to concatenate datasets for tflite model maker?
Assume I have datasets loaded from different directories
from tflite_model_maker import object_detector
DIR_IMAGES_TRAIN1="/data_dir1"
DIR_IMAGES_TRAIN2="/data_dir2"
DIR_ANNOT_TRAIN1="/annot_dir1"
DIR_ANNOT_TRAIN2="/annot_dir2"
LABEL_MAP =…

zeroflaw
- 554
- 1
- 11
- 23
0
votes
2 answers
React native Application with Tensorflow , mediapippe, cvzone
I am going to create a sign language recognition mobile application using React Native. I have already trained the model using Mediapipe and cvzone. but media pipe can not use directly for react native application? how can I do it? I am a beginner…

Tiran Jayasekara
- 39
- 1
0
votes
0 answers
I'll create my own TFLITE and the Camera Detector Crash when ill run it on android
`private static final int TF_OD_API_INPUT_SIZE = 512;
private static final boolean TF_OD_API_IS_QUANTIZED = false;
private static final String TF_OD_API_MODEL_FILE = "model.tflite";
private static final String TF_OD_API_LABELS_FILE =…

RVC
- 19
- 1
0
votes
0 answers
TensorFlow Lite for Microcontrollers: Didn't find op for builtin opcode 'REDUCE_PROD' version '1'
I am using a Seeed Studio XIAO to play some machine learning.
I follow the tutorialhere
The model in this example seems to have an input size of [None, time_steps * num_features]. In its case, the input instance to the model is [1, 119 samples * 6…

Yi Zheng
- 1
0
votes
0 answers
Subgraph not found using TFLite runtime interpreter on Raspberry Pi 4 Model B 32-bit
I have converted a trained keras model (ResNet50) and converted it into a TFLite model. However, when I run it in the Raspberry Pi 4 Model B, it returns an error saying "subgraph not found in the model".
Do I have to add anything to the keras model…

Ossas_
- 1
- 1
0
votes
0 answers
How run trained tflite model for urbansound 8k dataset using python
I have trained a audio classification model URBANSOUND8k and converted it into tflite file how can we run the model for diffrent audio other than dataset
code to run tflite model file . Audio Classification

Onkar Mane
- 1
- 1
0
votes
1 answer
Converted tf.keras.layers.Conv2DTranspose to tflite can't run on the gpu
I tried to converting tf2 keras model with Conv2DTranspose layer to tflite.
But after converting to tflite, this model generates automatically Shape and Pack operation. That is a quiet problem for me because these operation can't be supported by…

YeongHwa Jin
- 435
- 5
- 15
0
votes
0 answers
Possible to generate heatmaps using tflite models?
To save server space I convert keras models (h5) to tflite format and I'd like to create heatmaps / saliency maps with the tflite models. Its easy to create a heatmap with a keras model, but tflite I have not seen any examples. Is it possible to do…

Forth Temple
- 94
- 2
- 5
0
votes
0 answers
Unable to upgrade tflite-support.task to latest version
While trying to perform object detection on raspberry pi I need tflite-support.task library which is present in version greater than 0.4 but I am unable to upgrade it.
ERROR: Could not find a version that satisfies the requirement…

Bhavya Shah
- 21
- 2
0
votes
1 answer
tflite inference only predicts one label despite multiclass label training
I have trained a multiclass classifier for speech recognition using tensorflow. Then converted the model using tflite converter. The model can predict but it always outputs a single class. I suppose the problem is with the inference code because .h5…

Purulence
- 15
- 5
0
votes
0 answers
TFLite quantization in multiple input
I have a model of saved_model format, and I need convert it to tflite with quantization.
The problem is model have two input nodes, named "serving_default_input.1" and "serving_default_input.81", and I'm confuse about code of convertion.
I write…

heiheihei
- 659
- 1
- 6
- 15