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

Fix the issue where SadTalker cannot be used on Stable Diffusion webui 1.8.0 #869

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kingljl
Copy link

@kingljl kingljl commented Apr 16, 2024

For specific details, update to 1.8.0 using SadTalker with an error message np. complex, and then upgrade librosa to 0.10 Subsequently, we encountered an issue with "AttributeError: module 'numpy' has no attribute 'float'" and updated the code to np.float32
Then we encountered the issue of "alueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimension. The detected shape was (5,)+inhomogeneous pa". In response to the error message, we added the dtype attribute of np. array, and now it is running normally
image
image
image
image
The effect of the final normal image:
image

修正np版本不同的float类型
修复np版本不同,类型不同的问题
更新版本,支持`np.complex_
@kingljl kingljl changed the title Fix the issue where SadTalker cannot be used on webui 1.8.0 Fix the issue where SadTalker cannot be used on Stable Diffusion webui 1.8.0 Apr 16, 2024
@kainatquaderee
Copy link

this works. please approve this commit

@kingljl
Copy link
Author

kingljl commented May 1, 2024

this works. please approve this commit

It's been a while since the official update, so it's probably not possible to merge in the short term. It can only be found and used by whoever finds it

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

Successfully merging this pull request may close these issues.

None yet

2 participants