YOLOV8 - Quantization Error: Trying to create tensor with negative dimension -37: [0, -37] #3690
Replies: 1 comment
-
@khanonenet hello! It seems you're encountering an issue with quantization dimensions when using OpenVINO with YOLOv8. This error typically indicates that there's a mismatch between the expected input size of the model and the size being provided during the quantization process. Here are a few steps you might consider to troubleshoot this issue:
If you continue to face issues, I recommend reaching out to the OpenVINO community or checking their documentation for more specific guidance on quantization with custom models. You can also refer to our documentation for more information on model export and compatibility considerations. Good luck! 🤞 |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to perform Quantization of YOLOV8 with the notebook provided by openvino. And I am getting this error. Can anyone help me out with it? I am attaching images of the code snippets. Also one thing to mention here that I have trained a Yolov8-seg on a custom dataset.
Notebook being followed for Quantization: https://github.com/openvinotoolkit/openvino_notebooks/blob/main/notebooks/230-yolov8-optimization/230-yolov8-optimization.ipynb
Beta Was this translation helpful? Give feedback.
All reactions