mapooon / BlendFace

[ICCV 2023] BlendFace: Re-designing Identity Encoders for Face-Swapping https://arxiv.org/abs/2307.10854
Other
172 stars 7 forks source link

Bad swap results #9

Closed HeChengHui closed 1 year ago

HeChengHui commented 1 year ago

@mapooon Thank you for your work. I have been testing out your face swap model and the results seems to be quite bad.

steps taken: 1) download blendswap.pth 2) use insightface detector and face_align in their utils on both source and target 3) change target to (256, 256) when converting to tensor 4) result (supposed to be emma on cage lol) output

Any advice on how to make it work properly?

mapooon commented 1 year ago

Hi, Target images should be aligned in FFHQ manner, as I mentioned in README.md. This is a good code to align.