-
Notifications
You must be signed in to change notification settings - Fork 8
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
edit headpose only and keep the expression #5
Comments
You can keep the exp as a None value. i.e., if you don't pass the exp value, it will follow the original expression coefficient. The logic is here: Line 436 in 8f75b22
|
Oh you also need to keep the original jaw pose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi there, great project!
in the inference.py --flame mode, in the demo that edits exp, it seems that the exp coef is randomly given rather than keep the source image expression
for i in range(10):
exp = torch.zeros(1, 100).to(src_img.device) # (1, 100)
exp[0, 0] = 2 * i / 10
Is there any way to edit the head pose only and keep the input face expression the same?
The text was updated successfully, but these errors were encountered: