Export from TensorFlow
Models built with TensorFlow should be converted to the TensorFlow Lite format before being imported into Lens Studio. Refer to the official TensorFlow Lite Converter guide for detailed instructions. The TensorFlow Lite converter takes a TensorFlow model and generates a TensorFlow Lite model, which is an optimized FlatBuffer format identified by the TFLite
file extension.
To run on mobile devices, TensorFlow models are converted to an internal format that leverages limited computational power. Our TensorFlow converter aims to support popular neural network architectures and common neural operations.
Quantization
SnapML supports TensorFlow Lite 8-bit quantization. Learn more about Quantization on the TensorFlow website.
Check out the Multi-Class Classification Template and the corresponding training notebook to learn how to generate and quantize multi-class classification models.