Hi!
I am testing the QuantizationDebugger functionality to inspect quantization errors of my models. I’ve successfully inspected a model defining the converter object, as shown in the Inspecting Quantization Errors with Quantization Debugger guide. I would like to also inspect models I’ve already generated (.tflite
files), passing them through the quant_debug_model_path
argument, and comparing against the floating-point model passed through float_model_path
.
Unfortunately, when I execute
debugger = tf.lite.experimental.QuantizationDebugger(
quant_debug_model_path='quantized.tflite',
float_model_path='floating/'
)
it raises the error
ValueError: Please check if the quantized model is in debug mode
How can I set the debug mode of the quantized model?
I am using Tensorflow 2.14.1 in the docker image tensorflow/tensorflow:2.14.0-gpu
.