image-dreamer
image-dreamer copied to clipboard
"Dreams" images, such as shown in the Google Research blog post on "Inceptionism".
If Caffe was built for the NVIDIA GPU, these lines will speed things up a LOT. Insert this code just after the "import caffe" line. ``` # If your GPU...
Hi, I spent some time and rewrote the dreamify.py a bit. I moved the data to a json file. Dreamify.py: ``` python #!/usr/bin/env python # imports and basic notebook setup...
- Smarter compute and memory resource allocation. - Using [vagrant-cachier](https://github.com/fgrehm/vagrant-cachier) for faster start-up
Make the input image's numpy array the right format for preprocess() by adding a conversion to RGB in the image read statement: ``` python img = np.float32(PIL.Image.open(sys.argv[1]).convert('RGB')) ``` Otherwise, it's...
So I have a fresh install of vagrant (only added numpy onto it because that was also missing) but I'm having trouble with where to go from here. Every time...
Should this be a concern?
- PEP8! - Move most end-of-line comments above their related code. - Copyedit most comments. - Add `if __name__ = __main__:` so that we're a proper command line program with...
http://pastebin.com/2PXAbz5m I'm no programmer, I just like to tinker :)
Before:  After: 