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: Fixed bug that required old numpy. Updated numpy #434

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vltmedia
Copy link

Error:

File "f:\Env\Lib\site-packages\sadTalksrc\face3d\util\preprocess.py", line 101, in align_img
    trans_params = np.array([w0, h0, s, t[0], t[1]])
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.

Fix:
Adding dtype=object got over the error.

@TimPietrusky
Copy link

This is blocked by xinntao/facexlib#38 as far as I understand.

@vltmedia
Copy link
Author

This is blocked by xinntao/facexlib#38 as far as I understand.

Yup I suggested that fix, so when they implement my pull request we should be able to apply this fix.

@vinthony
Copy link
Collaborator

I will make a fork of facexlib for SadTlaker to make it better.

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.

3 participants