Use DLP based on Docker

1. Configure Docker

Step 1: Install Docker

$ sudo apt-get install apt-transport-https ca-certificates curl software-properties-common

$ sudo apt-get install -y linux-image-extra-$(uname -r)

$ curl -fsSL | sudo apt-key add -

$ sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"

$ sudo apt-get update

$ sudo apt-get install docker-ce

Step 1: Install Nvidia-Docker

$ git clone

$ cd nvidia-docker/

$ distribution=$(. /etc/os-release;echo $ID$VERSION_ID)

$ curl -s -L | sudo apt-key add -

$ curl -s -L$distribution/amd64/nvidia-docker.list | $ sudo tee /etc/apt/sources.list.d/nvidia-docker.list

$ sudo apt-get update

$ sudo apt-get install nvidia-docker2

$ sudo pkill -SIGHUP dockerd

Step 3: Add to docker user group

$ sudo groupadd docker

$ sudo gpasswd -a ${USER} docker

$ sudo service docker restart

Step 4: Logout and relogin

2. Set up DLP

Click the gear button on the top right panel, and click "Pull" button. Wait until it's done.

install DLP on Ubuntu


* The Data and Net modules of DLP do not rely on Caffe to run.

* You can do the following using DLP with or without Caffe:

1. You can use the Data module to visualize and organize your dataset, and optionally store them in a format required by Caffe models.

2. You can use the Net module to design your own network either based on existing architecture (by using the net library or importing your own .prototxt file), or from scratch. DLP will create .prototxt files when you export the network.

* If Caffe was installed, input 3 paths to DLP:

1. Caffe tools: e.g. /Users/Documents/caffe/build/tools

2. Caffe python: e.g. /Users/Documents/caffe/python

3. Python bin: e.g. /Users/bin

install DLP on Ubuntu


Caffe installation

*Official installation guide can be found here.

Step 1. Download source files from here.

Step 2. Open the terminal and install Caffe dependencies:

sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler

sudo apt-get install --no-install-recommends libboost-all-dev

sudo apt-get install libatlas-base-dev

sudo apt-get install python

Step 3. Compile Caffe with Make:

cp Makefile.config.example Makefile.config

# Adjust Makefile.config (for example, if using Anaconda Python, or if cuDNN is desired)

make all

make test

make runtest

make pycaffe

Step 4. Python dependencies:

python-numpy; python-scipy; scikit-image; pyzmq; lmdb

DLP installation

Open the terminal, and change current directory to the directory where "DLP.deb" locates. Then execute the following command:

sudo dpkg -i DLP.deb

install DLP on Ubuntu

Mac OS

Caffe installation

Please refer to official website for detailed installation guide.

DLP installation

Open the DMG file, and drag the to Application folder.

install DLP on Mac


Caffe installation

Official website doesn't give installation guide on Windows, but it certainly can be done through DIY. Please Google it or Baidu it.

DLP installation

Download the ZIP file, unzip it, and double click DLP.exe.

install DLP on Windows