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

Questions about the separation of the head model and the background model #7

Open
neuralchen opened this issue Aug 10, 2022 · 1 comment

Comments

@neuralchen
Copy link

Thank you for your impressive work.
Also thank you for sharing the model and code.
We believe this work is one of the most important in the field of style transfer this year.

I studied the code you posted in detail. The separation of the head transition model and the background transition model is very confusing to me. In the paper, the details we get are that we only need a Texture translation network to uniformly transfer the style of the whole image.
It is this feature that impresses me!

Looking forward to your reply.

Best,

@menyifang
Copy link
Owner

Good question. Here we provide a more practical infer version with head & background processed separately for time efficiency (especially for images with small faces & image with multi-faces in different size). The model also supports directly full image translation with face in suitable scale. With resized images, directly use "cartoon_anime_bg.pb" for inference. Actually, cartoon_[style]bg.pb and cartoon[style]_h.pb are the same model with same params. For anime style, we give an additonal optim for head model, but bg model also works well.

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