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

why times 0.256 in white noise image #106

Closed amy-cao closed 6 years ago

amy-cao commented 6 years ago

Hi anishathalye, I was looking at stylize.py file and found that you times 0.256 to get white noise image. May I ask why you did that? BTW, your work is amazing!

anishathalye commented 6 years ago

That code was written in commit 7f9d75675a7ce83617ca91ff48a11002c757c114, almost exactly two years ago. I don't remember why I did that... I think it was to get random noise with a small stdev.