Rather than building and pushing Docker images locally with boot2docker, I’ve been using Docker Machine on Google Compute Engine for the past couple of months.Ĭheck out my other article on how I set up Docker Machine on Google Compute Engine. I’ve learned firsthand how unpleasant it can be to download Docker images and push images over low bandwidth connections. Install the latest version of IPython Notebook.Install dependencies that are required by Deep Dream.Install dependencies that are required to compile Caffe.The end result is a Docker container image that is portable - I can run it locally, or in any virtual machine that runs Docker. With Docker, I can write all of the installation steps/commands in a Dockerfile, and Docker will follow the instructions to build all of the dependencies and install the Deep Dream source code. Docker to the Rescueĭocker came into my mind immediately. I needed to have consistent and reproducible builds of the Deep Dream dependencies so I could run it anywhere. Rather than installing the software only once on my laptop, I also wanted to run it in virtual machines as well. The most complex dependency to install was Caffe. There were plenty of Deep Dream installation instructions circulating on the web, but each was slightly different, and mostly were complicated. But it turned out to be much harder - there are no instructions on how to run the source code, nor how to install the dependencies. I thought it would be easy to just download, install, and run it. A Deep Dream Nightmareĭeep Dream source code is on GitHub.
0 Comments
Leave a Reply. |