yolov5-dnn-cpp-python
yolov5-dnn-cpp-python copied to clipboard
error: (-215:Assertion failed) model_proto.has_graph() in function 'populateNet'
/media/yzl/C4A8E8FBE4769FDE/sr/cpp/opencv-4.2.0/modules/dnn/src/onnx/onnx_importer.cpp:327: error: (-215:Assertion failed) model_proto.has_graph() in function 'populateNet'
为什么会报这样的错误?
/media/yzl/C4A8E8FBE4769FDE/sr/cpp/opencv-4.2.0/modules/dnn/src/onnx/onnx_importer.cpp:327: error: (-215:Assertion failed) model_proto.has_graph() in function 'populateNet'
为什么会报这样的错误?
升级opencv再试一下
/media/yzl/C4A8E8FBE4769FDE/sr/cpp/opencv-4.2.0/modules/dnn/src/onnx/onnx_importer.cpp:327: error: (-215:Assertion failed) model_proto.has_graph() in function 'populateNet' 为什么会报这样的错误?
升级opencv再试一下
升级过后,好像还不行
看报错信息,你的opencv版本是4.2的,需要升级opencv版本,才能运行的
---Original--- From: @.> Date: Tue, Apr 26, 2022 23:52 PM To: @.>; Cc: @.@.>; Subject: Re: [hpc203/yolov5-dnn-cpp-python] error: (-215:Assertion failed)model_proto.has_graph() in function 'populateNet' (#22)
/media/yzl/C4A8E8FBE4769FDE/sr/cpp/opencv-4.2.0/modules/dnn/src/onnx/onnx_importer.cpp:327: error: (-215:Assertion failed) model_proto.has_graph() in function 'populateNet' 为什么会报这样的错误?
升级opencv再试一下
升级过后,好像还不行
想问下这个问题解决了吗
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>