-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: 'tf.TensorListSetItem' op is neither a custom op nor a flex op while trying to quantize the model into int8 #76
Comments
The full error:
|
Hello @StuartIanNaylor . Thank you for your reply. But I am not sure how this helps in my case. Will you please explain me if possible? Sorry for the inconvenience. |
Kudos to the cool tool tflite2tensorflow made by PINTO0309. I used it to convert DTLN-aec tflite models to quantized version. |
Hello,
I am trying to learn about quantization so was playing with a github repo trying to quantize it into int8 format. I have used the following code to quantize the model.
And for the representative data, I have converted the data into numpy, saved them as .npy and then used the following code to use them as representative data.
But after I run the code I get the following error:
I have tried to follow the doc and some github issues like tensorflow/tensorflow#34350 (comment) and also went through a similar question Issue with tf.ParseExampleV2 when converting to Tensorflow Lite : "op is neither a custom op nor a flex op"
But none of those seemed to be helpful in my case.
Can anyone help me figure out what I am doing wrong? Thanks in advance.
I am adding the full error in my first comment.
The text was updated successfully, but these errors were encountered: