YOLOP-opencv-dnn
YOLOP-opencv-dnn copied to clipboard
OpenCV minimum version
Hi there, Thanks for your guys awesome tasks. But I met an issue while compiling through opencv. Which version your team using to build this repo?
opencv/modules/dnn/src/onnx/onnx_importer.cpp:555: error: (-215:Assertion failed) blob.type() == 5 in function 'populateNet'
Hi there, Thanks for your guys awesome tasks. But I met an issue while compiling through opencv. Which version your team using to build this repo?
opencv/modules/dnn/src/onnx/onnx_importer.cpp:555: error: (-215:Assertion failed) blob.type() == 5 in function 'populateNet'
升级opencv再试一下
4.5.4.60测试没问题
4.5.4.60报错如下:
line 68, in postprocess i = i[0] IndexError: invalid index to scalar variable.
1.建议使用opencv-python==4.5.4.60 2.如果报错如下: line 68, in postprocess i = i[0] IndexError: invalid index to scalar variable.
请直接注释掉line68