maybe you can try out this notebook:
https://github.com/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/yolov11-optimization/yolov11-object-detection.ipynb
yolov11 object detection
or could you share the steps to reproduce this error?