Skip to content

Instantly share code, notes, and snippets.

@oak-tree
Last active November 27, 2015 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oak-tree/b750fa8cd89f3816b233 to your computer and use it in GitHub Desktop.
Save oak-tree/b750fa8cd89f3816b233 to your computer and use it in GitHub Desktop.
Run caffe on docker on windows

Docker

Install docker

Run docker

(cd /c/Program\ Files/Docker\ Toolbox/ ; ./start.sh)

Connect to docker container

run docker ps

run docker attach <containername|hash>

Caffe

GPU

CPU

run caffe container

Additions:

Vim

run apt-get install vim

Python

run wget https://bootstrap.pypa.io/get-pip.py

run python get-pip.py

install all python dependency

cd python

:~/caffe/python# for req in $(cat requirements.txt); do pip install $req; done

Extra info

Docker

https://docs.docker.com/engine/reference/commandline/attach/

Caffe

http://caffe.berkeleyvision.org/ BVLC/caffe#550 https://github.com/irony/caffe-docker-classifier https://github.com/VISIONAI/clouddream https://github.com/jimgoo/caffe-oxford102

Python

http://nbviewer.ipython.org/github/BVLC/caffe/blob/master/examples/00-classification.ipynb/

Timing

BVLC/caffe#1317

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