image-dreamer
image-dreamer copied to clipboard
"Dreams" images, such as shown in the Google Research blog post on "Inceptionism".
image-dreamer
"Dreams" images, such as shown in the Google Research blog post on "Inceptionism".
What's it do?
Using a deep neural network, it turns images like this:
Into this:
Read the Google Research blog post on "Inceptionism" to learn more about how it works.
Installation
- Install Vagrant
- Clone this repo
-
cd image-dreamer
-
vagrant up
- Go grab a coffee, this will take a while
Usage
- Copy any JPEG images you want to "dreamify" into the
image-dreamer
directory -
vagrant ssh
-
cd /vagrant
-
ipython dreamify.py <input JPEG filename> <output PNG filename>
- Freak out!
Credits
Thanks to the great work of Google's deepdream team!
The Vagrant file and Vagrantbox are based on those provided by Data Science Toolbox. Big thanks to them for providing the scientific Python bootstrap I needed to get this going!
Contributing
Have fun, hack, contribute! This is just a starting point, I'd love to see where people take this!
If you make changes, please consider issuing a pull request. I'm happy to oblige.
Thanks to @borzoj and @dirtyvader for their contributions!