備忘録

政治/経済/自動運転/Python/Robotics

mac OS Xに、caffe+jupyter notebook環境構築メモ

1. install docker

公式ページより。

2. build docker image

cd ~/workspace/caffe
git clone https://github.com/BVLC/caffe.git
cd caffe/docker
docker build -t caffe:cpu standalone/cpu

3. run container with port forwarding

docker run -p 8889:8888 -ti caffe:cpu /bin/bash

4. launch jupyter notebook

cd /opt/caffe/example
jupyter notebook --ip 0.0.0.0 --no-browser

5. access jupyter notebook

open browser @ localhost:8889