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

About Partial Makeup Transfer #3

Closed
haile-vnu opened this issue Jan 4, 2022 · 4 comments
Closed

About Partial Makeup Transfer #3

haile-vnu opened this issue Jan 4, 2022 · 4 comments

Comments

@haile-vnu
Copy link

Hi @Snowfallingplum,
I see your paper provides partial makeup transfer. Could you give me some hints how to do this in your repo code.

Thank you very much!

@Snowfallingplum
Copy link
Owner

(1)In the process of data loading, six more data need to be input, including the binary mask of the target image lips, eyes and face, and three different reference images.
(2)Then the distorted makeup features of three reference images were extracted respectively
(3)Combined with the different binary mask of the source image, three different distorted makeup features are combined into the desired features, which can be input into the decoder

@haile-vnu
Copy link
Author

(1)In the process of data loading, six more data need to be input, including the binary mask of the target image lips, eyes and face, and three different reference images. (2)Then the distorted makeup features of three reference images were extracted respectively (3)Combined with the different binary mask of the source image, three different distorted makeup features are combined into the desired features, which can be input into the decoder.
Hi @Snowfallingplum ,
Thank you for your quick reply,
A more programming question, I see the shape of distorted makeup features is torch.Size([1, 256, 64, 64]). Could you show me how can I combine it with a mask size (256,256).

Thank you @Snowfallingplum !

@Snowfallingplum
Copy link
Owner

256x256 requires resize to 64x64

@haile-vnu
Copy link
Author

256x256 requires resize to 64x64

Thank you @Snowfallingplum,
My intention is to transfer only lips style of the reference. So I try to take the target as an additional reference.
It seems the result does not keep the style of the target.

Thank you!

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

2 participants