diffusion-rig icon indicating copy to clipboard operation
diffusion-rig copied to clipboard

How to generate myself expression face?

Open sunzhe09 opened this issue 2 years ago • 2 comments

when I run the scrpit you provide the scripts,I find it just swap the face,but I want to edit the expression .

sunzhe09 avatar Oct 09 '23 03:10 sunzhe09

how can i generator this gif,I mean I don't know how to get the condition image

sunzhe09 avatar Oct 09 '23 09:10 sunzhe09

Hi, in order to edit the expression directly without the condition image, you can try to modify the parameters here https://github.com/adobe-research/diffusion-rig/blob/d9b266102e1900032efc62e66a7f6c66dde5ff79/scripts/inference.py#L80C1-L81C1 where you directly change original expression parameters instead of extracting them from the original image. You can also find another image with the expression you'd like to use, and then do an interpolation of those two sets of parameters.

zh-ding avatar Oct 10 '23 18:10 zh-ding