Skip to content

Instantly share code, notes, and snippets.

@kyamagu
Created October 14, 2017 08:35
Show Gist options
  • Save kyamagu/45e71890a16f07a5d49781c18e56ca38 to your computer and use it in GitHub Desktop.
Save kyamagu/45e71890a16f07a5d49781c18e56ca38 to your computer and use it in GitHub Desktop.
Personal note on running caffe2 tutorials.

Caffe 2 tutorials

Running a tutorial docker image.

docker run -it --rm -p 8888:8888 caffe2ai/caffe2:c2v0.8.1.cpu.full.ubuntu14.04 \
  sh -c "jupyter notebook --no-browser --ip 0.0.0.0 --allow-root /caffe2/caffe2/python/tutorials"
  • --rm option deletes the docker instance after exits. Remove --rm if needed to interrupt the session.
  • This tutorial uses CPU-only image c2v0.8.1.cpu.full.ubuntu14.04. Can use latest image to use GPU.

The available images are listed in Dockerhub.

https://hub.docker.com/r/caffe2ai/caffe2/tags/

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