You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use tinynn converter to convert a quantized pytorch model to tflite. The pytorch model is trained with input in range -0.5-0.5 which is preprocess by (x/255-0.5), while the device can onlly take INT8 as input. If I set the pytorch model input quant scale to 1 and zero point to 0, does the conversion, feed tflite model with input range 0~255, the converted tflite model can not get correct result when feeding tflite model INT8 input. Any step is missing? Thanks for the help!
The text was updated successfully, but these errors were encountered:
I use tinynn converter to convert a quantized pytorch model to tflite. The pytorch model is trained with input in range -0.5-0.5 which is preprocess by (x/255-0.5), while the device can onlly take INT8 as input. If I set the pytorch model input quant scale to 1 and zero point to 0, does the conversion, feed tflite model with input range 0~255, the converted tflite model can not get correct result when feeding tflite model INT8 input. Any step is missing? Thanks for the help!
The text was updated successfully, but these errors were encountered: