DmitryUlyanov / texture_nets

Code for "Texture Networks: Feed-forward Synthesis of Textures and Stylized Images" paper.
Apache License 2.0
1.22k stars 218 forks source link

Bad results – what parameters to fix? #66

Open carolinehermans opened 7 years ago

carolinehermans commented 7 years ago

Hi, I know this has been asked but I've been getting odd results with my style transfer.

With the default parameters, I used this drawing: http://i.imgur.com/TpbblRf.jpg

And got this result: http://imgur.com/a/B8PcY

I'd really like something more styled according to the original drawing, but I'm not sure what parameters to use? I can't find an explanation of what the parameters do. I'm going to try increasing style-size from 600 to 960 – will this help? Both the style image and the images I'm styling are very large.

Thank you.

DmitryUlyanov commented 7 years ago

Hi, try different image_size and style_size. It will make the textures larger/smaller.

Stylizing large images results as you noticed in small details. But what you can do is to downscale image first, stylize then and upscale back with some superresolution net. It works quite well. Good luck!