Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
xoryouyou committed Feb 19, 2017
1 parent 4a4424a commit c8e6ccc
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM nvidia/cuda:8.0

MAINTAINER Till von Ahnen "[email protected]"

# prevent shell interactions
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true

# prepare for pip3
RUN apt-get update
RUN apt-get install python3-pip python3 python3-dev -y

# get the latest pip
RUN pip3 install --upgrade pip

# install everything needed
RUN pip3 install tensorflow-gpu numpy scipy scikit-learn pillow h5py keras
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,16 @@
# keras-tf-gpu
Docker image for keras using tensorflow-gpu

It includes:

* cuda 8.0
* tensorflow 1.0
* keras

## Usage

`nvidia-docker run --rm -ti xoryouyou/keras-tf-gpu bash`

When using tensorboard just put it in the background for example:

`tensorboard --log-dir=/tmp/logs &`

0 comments on commit c8e6ccc

Please sign in to comment.