You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:~/code/cplus/yolov5-dnn-cpp-python/build$ ./opencv_test_project
Net use yolov5s
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(4.5.0) /home/code/opencv-4.5.0/modules/dnn/src/onnx/onnx_importer.cpp:73: error: (-5:Bad argument) Can't read ONNX file: yolov5s.onnx in function 'ONNXImporter'
看了您的博文,明白了要想将导出的onnx模型供cv2.dnn调用,需要改写官方源码。但作为小白,怎么改写还是不太懂。能将这个详细过程再讲一遍吗?十分感谢。
The text was updated successfully, but these errors were encountered: