Skip to content

Bug: Fixed bug that required old numpy. Updated numpy - #434

Open
vltmedia wants to merge 1 commit into
OpenTalker:mainfrom
vltmedia:main
Open

Bug: Fixed bug that required old numpy. Updated numpy#434
vltmedia wants to merge 1 commit into
OpenTalker:mainfrom
vltmedia:main

Conversation

@vltmedia

Copy link
Copy Markdown

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
Copy Markdown

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

@vltmedia

Copy link
Copy Markdown
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
Copy Markdown
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