Error when reading Yolo5 as onnx using cv2

can you try to add

--opset 12

to the export params ?

(iirc, you have to downgrade the opset from 13 to 12, to make the onnx work with cv2.dnn)

2 Likes