YOLOP-opencv-dnn icon indicating copy to clipboard operation
YOLOP-opencv-dnn copied to clipboard

OpenCV minimum version

Open Takugo opened this issue 2 years ago • 4 comments

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'

Takugo avatar Oct 12 '21 11:10 Takugo

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再试一下

hpc203 avatar Oct 15 '21 01:10 hpc203

4.5.4.60测试没问题

A1exy avatar Dec 29 '21 08:12 A1exy

4.5.4.60报错如下:

line 68, in postprocess i = i[0] IndexError: invalid index to scalar variable.

chevvei avatar Dec 30 '21 13:12 chevvei

1.建议使用opencv-python==4.5.4.60 2.如果报错如下: line 68, in postprocess i = i[0] IndexError: invalid index to scalar variable.

请直接注释掉line68

stevephone avatar Mar 04 '22 09:03 stevephone