Closed kventinel closed 2 years ago
input_scale[0.000001000000] * weight_scale[0.000381198333] != bias_scale[0.000001000000] we have this check because in the original paper from google about quantization, scale of bias have such restriction.
My suggestion is you can check tflite quantization tool if there is some bug fix about this.
<[My suggestion is you can check tflite quantization tool if there is some bug fix about this.]>
But this is default tensorflow converter. May be you now some parameters of tf converter, that's can pass this checks?
@kventinel ,
Sorry, I don't know the answer, You can create an issue in TensorFlow, that will be better because you have totally wrong scale for bias.
I have model, for example:
But on device with A311D it's return errors, like that:
input_scale[0.000001000000] * weight_scale[0.000381198333] != bias_scale[0.000001000000]
Without dense layer on the end it's work good.
Can you help me solve this error please?
Code for quantization: