Questions tagged [tflite]
269 questions
4
votes
1 answer
Tflite model maker took all the disk issue colab
Iam unable to install tflite model maker in colab . I run all the commands with Nightly also . But it didnt work now . And my project stucks .
pip instal Tflite-model-maker didnt install it took long time and disk of colab ..
Iam unable to install…

ubaid rehman
- 41
- 1
3
votes
1 answer
Colab tflite-model-maker cant install
I am trying to install tflite-model-maker on colab but if i try this
!pip install -q tflite-model-maker
installing is taking so much time and disk will full.
If i try this
!pip install -q --use-deprecated=legacy-resolver tflite-model-maker
I am…

edibesad
- 43
- 1
- 5
3
votes
0 answers
How to change tensorflow output names (StatefulPartitionedCall:0 to StatefulPartitionedCall:1)
I can’t reach exactly the output I want in the Android application. I decorated the layers with a model inspired by a repository. I started training with my own data. I reviewed the original model on netron.app. When I examined mine, the difference…

Ahmet Can Fırat
- 31
- 2
3
votes
0 answers
Yolov7 custom trained model error in flutter project
I am getting the following error when I am running my tflite model in the flutter app for object detection using yolov7
java.lang.IllegalArgumentException: Cannot copy to a TensorFlowLite tensor (serving_default_images) with 2076672 bytes from a…

Chirag Mittal
- 39
- 4
3
votes
2 answers
ModuleNotFoundError: No module named 'tflite_support.task'
tflite_support's task library is missing. I've install the tflite_support with pip install tflite-support. I've tried using help() function to get the pakage content with help(tflite_support) and got the output 'PACKAGE…

Jeffrey Chua
- 31
- 2
2
votes
0 answers
unable to convert tensorflow to tensorflow lite, the input shapes are showing 1,1,1,3
I am trying to convert tensorflow pretrained model to tflite, model input shape is [1,320,320,3], but after converting into tflite model I am getting input shape as [1,1,1,3]. here's the conversion code I am using:
import tensorflow as tf
# Convert…

Prashanth
- 21
- 2
2
votes
0 answers
Compile Tensorflow on Platformio ESP-IDF
How do I compile a project with ESP-IDF (ESP32) on Platformio with Tensorflow? It is an existing project with other libraries and custom code. I just want to add tensorflow micro as any other library, normally with git clone into components.
I…

Ari Veiene
- 23
- 2
2
votes
1 answer
Converting LSTM model to tflite
I'm facing an issue while converting the LSTM model to tflite.
I'm converting this model to use it in my flutter app.
The model is used to detect and translate Indian sign language.
Below is my conversion code.
import tensorflow as tf
from…

GOPI KRISHNA
- 25
- 4
2
votes
1 answer
How to deploy an object detection model on the Raspberry Pi Zero?
I am trying to deploy an object detection model on the Raspberry Pi Zero. We have chosen the Raspberry Pi Zero because cost is our main issue. When I was installing tensorflow lite on pi0, I came to know that there is no tensorflow lite support for…

Sushmita
- 21
- 2
2
votes
2 answers
PlatformException when trying to detect objects on a custom tflite model
I used Cloud AutoML to train a custom model that suppose to detect marks on a piece of paper. I have the dataset exported as a TFLite file, and i have it hosted on firebase.
I managed to download the file and initiate the objectDetector fine. but…

Theuno de Bruin
- 202
- 2
- 12
2
votes
0 answers
Replace tf.gather with other OPs which are supported by TFLite GPU delegate
Does anyone know how to replace tf.gather with other OPs which are supported by TFLite GPU delegate? I want to convert a TensorFlow model with a warp operation to a TFLite model to be used on Android devices, but the warp needs to use tf.gather to…

zyhe
- 21
- 1
2
votes
0 answers
flutter tflite shape error TensorFlowLite tensor (StatefulPartitionedCall:1) with shape [1, 10] to a Java object with shape [1, 10, 4]
i have converted my ssd mobilenet v2 pb file to tflite using this code. Please check the code and help me to bring this.
this is the code for pb to tflite
command = "tflite_convert \
--saved_model_dir={} \
--output_file={}…

irtisam ali
- 29
- 2
2
votes
0 answers
Showcase the processed image through tfLite image classification in mobile
I am using tflite_flutter library V^0.9.0 (https://pub.dev/packages/tflite_flutter) in in my code base for image classification with custom tfLite model.
The tfLite uses RGB channels, same for image classification in Python script.
I am getting the…

Prabhat Pandey
- 277
- 10
- 13
1
vote
0 answers
tflite_flutter interpreter.run input error
I'm trying to do image classification in Flutter using tflite_flutter package, the code is from tflite_flutter github but I got this error
E/Parcel (29971): Reading a NULL string not supported here.
I/flutter (29971): afah aa
I/flutter (29971):…

Ali Mahfud
- 43
- 4
1
vote
0 answers
Face recognition not working in Android 13
I'm working on an app that does face recognition. One of the steps include detecting the user when streaming the camera. For that, I am currently using google's Ml Kit. The application works fine on Android 10 OS but when I run on Android 13 OS it…

Salitha Shamood
- 11
- 3