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

Using multiple masks #3

Open
okdewit opened this issue Dec 10, 2017 · 1 comment
Open

Using multiple masks #3

okdewit opened this issue Dec 10, 2017 · 1 comment

Comments

@okdewit
Copy link

okdewit commented Dec 10, 2017

Am I right in assuming the usage of multiple masks which leave part of the picture untransformed (as demonstrated in the (first picture)[https://github.com/Yijunmaverick/UniversalStyleTransfer/blob/master/figs/p3.jpg]) is not implemented in the LUA script?

The command from the readme uses a binary mask with styles for fg/bg, not multiple alpha masks, right?

th test_wct_mask.lua -content YourConentPath -style YourStylePath1,YourStylePath2 -mask YourBinaryMaskPath

This is not a problem as it's fairly easy to edit afterwards, but I'm curious as to whether I'm missing something.

@Yijunmaverick
Copy link
Owner

@okdewit You're right.

I do not include this in my code. As long as you have the mask, you can decide to only stylize some parts and keep the rest as the same with the content. The example I showed in the first picture with three styles and three masks is obtained by running my model three times.

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