I convert to onnx model from .pt model you provided,but when inference on opencv, has an error:
self.model = cv2.dnn.readNetFromONNX(onnx_path)
cv2.error: OpenCV(4.2.0) /io/opencv/modules/dnn/include/opencv2/dnn/dnn.inl.hpp:349: error: (-204:Requested object was not found) Required argument "starts" not found into dictionary in function 'get'
I convert to onnx model from .pt model you provided,but when inference on opencv, has an error: