ML-zoo icon indicating copy to clipboard operation
ML-zoo copied to clipboard

Test code for QAT model

Open mychina75 opened this issue 3 years ago • 0 comments

Hi, I tried to test the QAT tflite model, but error reported. ValueError: Cannot set tensor: Got value of type FLOAT32 but expected type INT8 for input 0, name: serving_default_input_1

Based on my understanding, input tensor should be 0.~1., but the model need INT8 input. Would you give some introduction about test code for QAT model? Thanks a lot.

mychina75 avatar May 15 '22 14:05 mychina75