Jan. 5, 2022, 3 p.m. | /u/Puzzleheaded-ml

Machine Learning www.reddit.com

Hi, I was converting two Keras models to a full integer quantize TFLite model. One TFLite model gives a high accuracy (98%) and another one gives very low accuracy (0.4%). I have checked the quantized model and found that the scaling factor change significantly.

Here is come quantization_parameters for the model with 98% accuracy:

Tensor index 1: 'quantization_parameters': {'scales': 0.0077935, 'zero_points': -1)

Tensor index 2: 'quantization_parameters': {'scales': 0.02159962, 'zero_points': 0)

Tensor index 3: 'quantization_parameters': {'scales': 0.00016834, 'zero_points': 0)

Here …

conversion keras machinelearning

Data Scientist (m/f/x/d)

@ Symanto Research GmbH & Co. KG | Spain, Germany

Robotics Technician - Weekend Day Shift

@ GXO Logistics | Hillsboro, OR, US, 97124

Gen AI Developer

@ NTT DATA | Irving, TX, US

Applied AI/ML - Vice President

@ JPMorgan Chase & Co. | LONDON, United Kingdom

Research Fellow (Computer Science/Engineering/AI)

@ Nanyang Technological University | NTU Main Campus, Singapore

Senior Machine Learning Engineer

@ Rasa | Remote - Germany