Docker setup for Deep Learning using GPU in Python and R
10K+
This Dockerfile sets up a complete environment for experimenting with R, Python and the most popular Deep Learning libraries (Tensorflow, Keras, Theano).
It installs:
It additionally installs the following packages
The image is based on the nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04 from the official NVIDIA CUDA Dockerhub including CUDA 9.0 and cuDNN7, with the respective headers.
git clone https://github.com/jdestefani/gpuDL-docker.git
cd gpuDL-docker
nvidia-docker run -it -v `pwd`/docker_volume:/root/shared_data -p #PORT#:8888 jdestefani/gpu_dl:latest
Note:
pwd:/root/shared_data" shares the folder docker_volume on your computer (the 'host') with the container in the '/root/shared_data' folder#PORT# should be replaced with the port on which the default jupyter port (8888) should be redirected.nvidia-docker run -it -v `pwd`/docker_volume:/root/shared_data -p #PORT#:8888 gpu_dl
-it cf. Quickstart)cd shared_data/samples
python keras_CNN_MNIST.py
Rscript keras_CNN_MNIST.R
Content type
Image
Digest
Size
3.2 GB
Last updated
over 8 years ago
docker pull jdestefani/gpu_dl