titu1994 / Neural-Style-Transfer

Keras Implementation of Neural Style Transfer from the paper "A Neural Algorithm of Artistic Style" (http://arxiv.org/abs/1508.06576) in Keras 2.0+
Apache License 2.0
2.26k stars 481 forks source link

Add content mask support #37

Closed velikodniy closed 7 years ago

velikodniy commented 7 years ago

You can select content mask with --content_mask option. For example, with content mask you can transfer hair style from one image to another. Without this option script behaves as usual.

titu1994 commented 7 years ago

LGTM. Thanks!

On a side note, future PRs need to update only the Network.py and INetwork.py scripts in the root of the directory. The copies in the script_helper folder are updated only after I update the C# program.

I'll update the Script Helper program to handle this addition.