Converting TensorFlow Model to TensorFlow Lite (TFLite) - Human Emotions Detection

  Рет қаралды 5,627

Neuralearn

Neuralearn

Күн бұрын

Пікірлер: 6
@markkitur5326
@markkitur5326 11 ай бұрын
Kindly explain deeply on the part of runtime
@felipecosta-pn1he
@felipecosta-pn1he Жыл бұрын
I was doing the same step-by-step since the creation of the model, when I run the cell with: interpreter = tflite.Interpreter(model_path='/content/tflite/quantized_model/tflite_quantized_model.tflite') interpreter.allocate_tensors() input_details = interpreter.get_input_details()[0] output_details = interpreter.get_output_details()[0] interpreter.set_tensor(input_details['index'], test_image) interpreter.invoke() output = interpreter.get_tensor(output_details['index'])[0] This cell only runs when I resize the image dimension to (1, 1), more exactly -> interpreter.set_tensor(input_details['index'], test_image) Is there any idea about what is wrong?
@neuralearn
@neuralearn Жыл бұрын
Hello Felipe, you have been granted access to the Notebook. Please after rerunning with the Notebook, let us know if you still face issues.
@felipecosta-pn1he
@felipecosta-pn1he Жыл бұрын
@@neuralearn Thanks!!!
@neuralearn
@neuralearn Жыл бұрын
You're welcome :)
@vanbap
@vanbap 10 ай бұрын
i face the same issue: exact image input shape in trained model .h5 is (1 , 224 , 224 , 3) but after converting to tflite, " input_details[0]['shape'] " gives me input shape: ( 1, 1, 1, 3) which is wrong. Could u help me ?
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,6 МЛН
How To Run TensorFlow Lite on Raspberry Pi for Object Detection
10:48
Edje Electronics
Рет қаралды 894 М.
Train a custom object detection model using your data
12:10
TensorFlow
Рет қаралды 215 М.
All Machine Learning algorithms explained in 17 min
16:30
Infinite Codes
Рет қаралды 566 М.
Tensorflow Lite with Object Detection on Raspberry Pi!
11:31
Lazy Tech
Рет қаралды 30 М.
MIT Introduction to Deep Learning | 6.S191
1:09:58
Alexander Amini
Рет қаралды 880 М.
How I’d learn ML in 2024 (if I could start over)
7:05
Boris Meinardus
Рет қаралды 1,3 МЛН
PyTorch in 100 Seconds
2:43
Fireship
Рет қаралды 1 МЛН
Visualizing transformers and attention | Talk for TNG Big Tech Day '24
57:45
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН