Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/s-ol/dreamer
An improved Deep Dreaming script with a proper CLI
https://github.com/s-ol/dreamer
Last synced: about 1 month ago
JSON representation
An improved Deep Dreaming script with a proper CLI
- Host: GitHub
- URL: https://github.com/s-ol/dreamer
- Owner: s-ol
- Created: 2015-07-08T13:45:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-12T17:42:26.000Z (over 9 years ago)
- Last Synced: 2023-06-07T10:55:14.683Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 96.7 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
dreamer
=======An improved Deep Dreaming script with a proper CLI.
Original script from [pastebin](http://pastebin.com/1ePNC89A), I mainly added an `argparse` CLI and removed the ipython parts.
usage: dream.py [-h] [-a ANIMATE] [-s SCALE] [-l LAYER] [-m MODEL]
[--force-backward] [--show]
image [image ...]
positional arguments:
image images to process
optional arguments:
-h, --help show this help message and exit
-a ANIMATE, --animate ANIMATE
animate a zoom for this many frames (default 0)
-s SCALE, --scale SCALE
zoom speed (use with --animate)
-l LAYER, --layer LAYER
the layer to output from
-m MODEL, --model MODEL
path to folder, .caffenet or name of model
--force-backward patch model file for gradient support
(force_backward=True)
--show open a window with the result