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

Wrong DECA rendering code #28

Open
wamiq-reyaz opened this issue Aug 27, 2023 · 0 comments
Open

Wrong DECA rendering code #28

wamiq-reyaz opened this issue Aug 27, 2023 · 0 comments

Comments

@wamiq-reyaz
Copy link

Hey, I am trying to perform the preprocessing on FFHQ, but the DECA estimation code that you have is simply wrong.

codedict['pose'][:, :3] = 0

basically changes the jaw rotation to be neutral. I don't know why.

And the line

landmarks2d_orig = landmarks2d.clone()

uses the original landmarks.

Using the original landmarks makes the outputs look like
Input
00000_inputs
Landmarks
00000_landmarks2d
Texture
00000

When you do not use the old landmarks

00180_inputs
00180_landmarks2d
00180

My question is this. When sampling which vertex positions/landmark positions should one use? (Yours)

The ones in the world space, or the ones generated by the orthographic projection. (The correct ones)

@wamiq-reyaz wamiq-reyaz changed the title Wrong DECA rednering code Wrong DECA rendering code Aug 27, 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

1 participant