anishathalye / neural-style

Neural style in TensorFlow! 🎨
https://anishathalye.com/an-ai-that-can-mimic-any-artist/
GNU General Public License v3.0
5.54k stars 1.52k forks source link

How recover style from filtered image? #160

Closed ahvahsky2008 closed 4 years ago

ahvahsky2008 commented 4 years ago

i have pack of input images and filtered images. How get style from this? image

anishathalye commented 4 years ago

I'm not sure exactly what you're trying to do. This code lets you take (content image, style image) and produce a new content image that's stylized like the given style image. It doesn't give you a way to recover a style image given (content image, new content image).

If you're just trying to stylize other stuff in the same way, you can try using the stylized image as the stylized image itself, and that might work all right.

ahvahsky2008 commented 4 years ago

I want recovery style. yeap.

anishathalye commented 4 years ago

Okay, so this neural-style software doesn't do that, and I don't think it's possible in the general case, because there isn't enough information preserved in the output to recover the input.

Best of luck with whatever you're doing!