Skip to content

Latest commit

 

History

History

README.md

TensorFlow Lite: Model Optimization for On-Device Machine Learning

This repository contains code for TensorFlow Lite: Model Optimization for On-Device Machine Learning blogpost.

Install Requirements

download

python3 -m venv .venv
source .venv/bin/activate
pip install -U pip
pip install -r requirements.txt

Tested with Python 3.12.x. The notebook now enables TF_USE_LEGACY_KERAS=1 before importing TensorFlow so that tensorflow-model-optimization==0.8.0 works correctly with TensorFlow 2.16. If you run the code outside the notebook, set that environment variable before importing TensorFlow.

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.