Table of Contents

Neural style simulation with tensorflow

I've been away from my blog a bit too long already, but well, the past is the past, and we can't change it. So let's focus on the present and future anyway! Today I wan't to give a try to the so called “neural style” concept, where we can input an image, and say a painting with a “given style”, and get that style applied on the input image.

References

Pre-requisite steps

Initial tests

first_style_transfer.jpg

⇒ I know I know, that one is pretty standard result ;-) So then I moved to more personal content (ie. family picture) with a custom painting style.

Family picture styling

family_colorful_sunrise_1000.jpg

colorful_sunrise.jpg

family_colorful_sunrise_5000.jpg

⇒ Still not quite an amazing image, but at least some of the small artifacts from the previous rendering were removed…

paysage_texture.jpg

family_paysage_texture.jpg

⇒ Again, the result is “nice” but still not really terrific… In fact I'm starting “to feel” that what we really need as a “style” image is not really a “colorfull” painting but instead something with very specific “shapes” instead. So let's try to find that now.

abstract_painting.jpg

family_abstract_painting.jpg

By the way, I also tried once more to generate a 1080p image [with mining stopped this time!] but unfortunately I still get the same “out of GPU memory” error.

Future tests