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

bug in class PPHumanSeg #162

Closed
anyfig opened this issue May 17, 2023 · 4 comments
Closed

bug in class PPHumanSeg #162

anyfig opened this issue May 17, 2023 · 4 comments

Comments

@anyfig
Copy link

anyfig commented May 17, 2023

python:3.8.8
opencv:4.7.0.72

error: (-215:Assertion failed) _FX_WINO_IBLOCK == 3 && _FX_WINO_KBLOCK == 4 in function 'cv::dnn::_fx_winograd_accum_f32'
fix: add self._model.enableWinograd(False) in class PPHumanSeg

@fengyuentau
Copy link
Member

error: (-215:Assertion failed) _FX_WINO_IBLOCK == 3 && _FX_WINO_KBLOCK == 4 in function
'cv::dnn::_fx_winograd_accum_f32'
fix: add self._model.enableWinograd(False) in class PPHumanSeg

@zihaomu Please take a look at this problem.

@zihaomu
Copy link
Member

zihaomu commented May 17, 2023

Hi @anyfig, the 4.7 release has a bug of Winograd on AVX-only platform. Related to opencv/opencv#23072.

For now, you can try the lateset opencv-python-rolling version, it should fix your issue.

pip uninstall opencv-python
pip install opencv-python-rolling==4.7.0.20230513

@fengyuentau
Copy link
Member

Feel free to reopen this issue if you still have questions.

@fengyuentau
Copy link
Member

Feel free to reopen this issue if you still have questions.

@fengyuentau fengyuentau added this to the 4.9.0 (first release) milestone Dec 28, 2023
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

3 participants