Skip to content

Docker Running Option#1

Open
atomantic wants to merge 1 commit into
mtyka:masterfrom
atomantic:master
Open

Docker Running Option#1
atomantic wants to merge 1 commit into
mtyka:masterfrom
atomantic:master

Conversation

@atomantic
Copy link
Copy Markdown

@atomantic atomantic commented Mar 24, 2018

Just a PR for reference, but feel free to pull it as is.

Docker allows me to skip having to manage multiple versions of python and libs on my machine.
I also pushed a built docker image to docker hub, so now you can run this without having to setup anything.

if you have images/input.jpg in the current dir, you can just run:

docker run --rm -v $(pwd)/images:/app/images atomantic/deepdream python deepdream.py --input images/input.jpg --output images/output.jpg --layer import/mixed5a_5x5_pre_relu --frames 7 --octaves 10 --iterations 10

and when the container dies, all of the output is in the images dir :)

You can also just run with the default command in the dockerfile, which produces the same as above:

docker run --rm -v $(pwd)/images:/app/images atomantic/deepdream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant