Skip to main content

Questions tagged [tensorflow-lite]

TensorFlow Lite is a toolkit for Android and iOS that provides Machine Learning capabilities on-device.

tensorflow-lite
0 votes
0 answers
8 views

TensorFlow converting model to google coral TPU compatible

I'm trying to learn some model to better recognize object in my camera(frigate). I prepared some training data and take code from tutorial. It looks promising but now i have a problem with converting ...
skoczo's user avatar
  • 1
0 votes
0 answers
20 views

How do I fix an 'AttributeError: 'Sequential' object has no attribute '_get_save_spec' in Python

import tensorflow as tf model = tf.keras.models.load_model("../mymodel.keras") model.compile(optimizer='adam', loss='sparse_categorical_crossentropy', metrics=['accuracy']) model.save('...
Sandun Jayasooriya's user avatar
0 votes
0 answers
46 views

Flutter/Tensorflow missmatching shapes error

I'm making a flutter app running a tensorflow Lite model. I got the following error: Cannot copy from a TensorFlowLite tensor (Identity) with shape [1, 2] to a Java object with shape [1, 215]. ...
Stefan Shkenderov's user avatar
0 votes
0 answers
18 views

Named Entity Recognition using TFLite on Android

I have a named entity recognition TensorFlow Lite model that I trained in Python and that I would like to run on an Android. To make predictions, the model takes in a dictionary of two tensors, namely ...
cdekalb's user avatar
0 votes
0 answers
16 views

How to Build a Self-Contained TensorFlow Lite Static Library?

I am working on a project where I need to distribute a shared library that loads a TensorFlow Lite model and performs inference on input data provided by the user. My goal is for the users to be able ...
ZR Han's user avatar
  • 278
1 vote
0 answers
42 views

MissingPluginException(No implementation found for method loadModel on channel tflite) i'm stuck

I am develop a flutter application for ASD Classification based on face images. I have been stuck for 2 weeks with the problem "missingpluginexception (no implementation found for the load ...
user25795583's user avatar
2 votes
0 answers
73 views

Kernel crashes everytime when trying to convert tensorflow model into tflite model

I'm using jupyter notebook in vscode and running a virtual enviroment with python 3.10.12. The python script is as follow: import math import numpy as np import tensorflow as tf from tensorflow.keras ...
Sylvia Shi's user avatar
0 votes
0 answers
31 views

How convert .tflite to mediaPipe

I am trying to create a llm in mobile using gemma-2b-it, but I have a problem when I try to run the llm with mediapipe. E0000 00:00:1719161438.366071 20510 calculator_graph.cc:887] INTERNAL: ...
Jorge Ignacio Martinez-abarca's user avatar
0 votes
0 answers
17 views

DRAM0 overflowed in ESP32 Arduino

I am using Espressif ESP-WROVER-KIT for a machine learning image classification task. The board has a RAM of 320 KB. When I build the code, I am getting following error: region `dram0_0_seg' ...
sats's user avatar
  • 153
0 votes
0 answers
12 views

Error : ImportError: cannot import name 'model_lib_v2' from 'object_detection'

i am trying to train my model fo object detection using tensorflow when i execute the command python object_detection/builders/model_builder_tf2_test.py i get the error ImportError: cannot import name ...
wiem BM's user avatar
  • 19
0 votes
0 answers
30 views

MissingPluginException(No implementation found for method loadModel on channel tflite)

i'm stuck with this error "MissingPluginException(No implementation found for method loadModel on channel tflite)" while using tensorflow lite on flutter, i use the latest version of tflite ^...
Mohamed Yasser's user avatar
1 vote
0 answers
45 views

Building with new version of compiler and old libc / libstdc++

I'm trying to build a Tensorflow Lite library for armhf, basically following the steps here. To preserve backwards compatibility of the library we ship, we want libc / libstdc++ version to remain ...
WintermuteAI's user avatar
0 votes
0 answers
19 views

Failed to run model, Interpreter busy, java.lang.RuntimeException: Interpreter busy

I am working on a flutter app for object detection with tensorflow tflite model when I run the application I get the error: I/flutter ( 6447): Error running model on frame: PlatformException(Failed ...
wiem BM's user avatar
  • 19
-1 votes
0 answers
42 views

Bounding Box Scaling Issue with YOLOv8n TFLite Model: Misaligned and Incorrectly Sized Boxes

I am using the YOLOv8n TFLite model to detect objects in images. My process involves loading the model, processing an image, and drawing the bounding boxes around detected objects. The original image ...
Salman khan's user avatar
0 votes
0 answers
205 views

error: missing attribute 'value' LLVM ERROR: Failed to infer result type(s). occuring while trying to convert .h5 file to .tflite file

So I had trained a mobilenet model and exported the model into a .h5 file after training. I need to convert it into a .tflite file to use it in a mobile application, but I am not able to convert it as ...
Los's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
149