-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
TensorFlow SavedModel: export failure ❌ 1.2s: permute(sparse_coo) #13029
Comments
The error you are encountering when trying to export your YOLOv8 model to INT8 format is related to the calibration images used for quantization. The error message indicates that there are not enough images for proper calibration and that there is a mismatch in the dimensions of the tensor during the permutation step. Here are steps you can follow to resolve this issue:
By following these steps, you should be able to resolve the issues related to exporting your model to INT8 format. If the problem persists, providing additional details about your dataset and calibration process will help in diagnosing the issue further. |
Hi Glenn thanks for answering. Two questions from your answer.
In addition if you
Error:
|
Hi there! Thanks for reaching out with your questions. Let's address them:
Hope this helps! Let me know if you have any more questions. 😊 |
Thanks for answering, finally I downgrade to 8.1.47. |
Hi there! Great to hear that you found a solution by downgrading to version 8.1.47. If you encounter any further issues or have more questions, feel free to reach out. Happy coding! 😊 |
Search before asking
Question
When I try to export my model into
FP32
type there is no problem. But when I want to obtain aINT8
appears this error:This error comes from run
model.export(format='tflite', int8=True)
ormodel.export(format='edgetpu', int8=True)
.Thanks!
Additional
No response
The text was updated successfully, but these errors were encountered: