DeepDream experiment, hosted here: https://dream.almost.digital
- Build-essentials (clang/gcc, make, etc.)
- python3
- node.js + npm (version 7)
- TensorFlow (version 1.1.0)
- sharp (image processing with vips)
- node-canvas (canvas implementation with cairo)
Rest of the dependencies are listed in package.json
and will be installed automatically.
Run these in separate terminal windows for best results.
make dreamer
This starts the python service that does the actual image processing.
make server
Starts the node.js websocket server that manages the clients and submits the canvas for dreaming to the python service.
make preview
This starts the wintersmith preview server serving the web app in client/
.
If you plan to host this somewhere you should run make build
to build a static version of the client that can
be deployed to any webserver.
Share and enjoy!