https://github.com/ambidextrous9/tensorflow-lite-model-for-microprocessor
Tensorflow Lite : Model for Low Power Microprocessor
https://github.com/ambidextrous9/tensorflow-lite-model-for-microprocessor
Last synced: 7 months ago
JSON representation
Tensorflow Lite : Model for Low Power Microprocessor
- Host: GitHub
- URL: https://github.com/ambidextrous9/tensorflow-lite-model-for-microprocessor
- Owner: ambideXtrous9
- Created: 2024-06-14T08:51:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-16T17:32:17.000Z (over 1 year ago)
- Last Synced: 2025-01-11T21:32:47.282Z (9 months ago)
- Language: C
- Size: 286 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Commands to install Tensorflow C in linux
1. Download the tar file : ```libtensorflow-cpu-linux-x86_64-2.15.0.tar.gz```
2. ```sudo tar -C /usr/local -xzf libtensorflow-cpu-linux-x86_64-2.15.0.tar.gz```
3. ```sudo ldconfig /usr/local/lib```
4. ``` gcc hello_tf.c -ltensorflow -o hello_tf```
5. ```./hello_tf```
## Convert tflite model to .h file
1. ```xxd -i QATModel.tflite > QATModel.h```
## Tensorflow Lite Build :
1. [Build TensorFlow Lite with CMake](https://www.tensorflow.org/lite/guide/build_cmake)
### Reference Links :
1. [Tensorflow Lite C++](https://stackoverflow.com/questions/70138115/how-to-get-tflite-model-output-in-c)
2. [Getting Started with TensorFlow Lite for Microcontrollers](https://www.youtube.com/watch?v=gDFWCxrJruQ&t=188s)