Keras to TFLite on Android: wrong normalization and a backwards top-5
For a photo of a quail, my Android app's top-5 code picks American alligator, sea cucumber, barracouta, reel and sea urchin. The model is right; the app is not. It keeps the five worst labels, and it scales the pixels with the wrong numbers. I added LiteRT export to Keras ( keras#21674 ) and its Py…
Read the full story at DEV Community — Machine Learning ↗
Timeline · 1 report
- 2026-10-22 02:16 · DEV Community — Machine Learning
Keras to TFLite on Android: wrong normalization and a backwards top-5