hxngiee / DiffFace

DiffFace: Diffusion-based Face Swapping with Facial Guidance
Other
275 stars 17 forks source link

how to swap hair also? #14

Closed LoganRebecca closed 1 year ago

LoganRebecca commented 1 year ago

I modify the parsing index with [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,17],including 17 hair, however, the results seems no diff, can you help me with that?

hxngiee commented 1 year ago

Since face swap is not a task that changes the hair of the target image, the hair remains unchanged. However, the attributes of the source can be reflected during the process of injecting the source's identity (Please refer to the intermediate state of the samples created in the Results folder)

Currently, the background of the target image is being forcibly blended. Try adding --no_enforce_background options to your command.

LoganRebecca commented 1 year ago

Ok, I'll give it a try, thanks for the quick reply!