/Tensorflow-Lite

A tool for transforming a keras model to tflite format for faster deployment on RaspberryPi

Primary LanguagePython

This code helps to efficiently convert and test a model to tflite.

  1. Install tflite.runtime with Python wheel

To get the tflite_runtime python wheel, go to this link : https://google-coral.github.io/py-repo/tflite-runtime/

Download and install the right file, taking in consideration python version and OS.

To install in Python, type in terminal: pip install (path to .whl file)

  1. Adapt the testing code to your model input size