Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCV minimum version #2

Open
Takugo opened this issue Oct 12, 2021 · 4 comments
Open

OpenCV minimum version #2

Takugo opened this issue Oct 12, 2021 · 4 comments

Comments

@Takugo
Copy link

Takugo commented Oct 12, 2021

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'

@hpc203
Copy link
Owner

hpc203 commented Oct 15, 2021

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

@A1exy
Copy link

A1exy commented Dec 29, 2021

4.5.4.60测试没问题

@chevvei
Copy link

chevvei commented Dec 30, 2021

4.5.4.60报错如下:

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

@stevephone
Copy link

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

请直接注释掉line68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants