twlelev / OpenVINO_CPP_YOLOX-YOLOV5-YOLOV8-YOLOV9

C++ inference of YOLOX/YOLOV5/YOLOV8/YOLOV9 for OpenVINO,Support float32、float16 and int8.
57 stars 18 forks source link

Does this project not support onnx models exported by yolov8 dynamic? #3

Open 31702160226 opened 1 year ago

31702160226 commented 1 year ago

When I use the following code to export the onnx model

model = YOLO("./runs/detect/train3/weights/last.pt")
model.export(format='onnx',dynamic=True)

Code running throws an exception: get_shape was called on a descriptor::Tensor with dynamic shape