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

cv2.error: OpenCV(4.8.1) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor' #2

Open
yuxuan2015 opened this issue Dec 22, 2023 · 1 comment

Comments

@yuxuan2015
Copy link

yuxuan2015 commented Dec 22, 2023

cv2.error: OpenCV(4.8.1) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'
能分享一下关于opencv相关包的版本吗?

为什么每次加载的时候都会自动更新~/.cache/modelscope/modelscope_modules/sadtalker/下面的代码文件

@wwdok
Copy link
Owner

wwdok commented Dec 28, 2023

@yuxuan2015 我的opencv版本是4.4.0.46,不过这个报错看起来不是版本问题,是要转换颜色的图片是空的,你检查一下你的输入图片的路径
关于第二个问题,这是modelscope的一个机制

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

2 participants