raykendo / tensorflow-keras-docker

Tensorflow + Keras as a Docker container for local experiments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker image for running Keras with a Tensorflow backend

This Dockerfile builds an image containing both Tensorflow and Theano, but enables TF as a backend for Keras.

You can add any files you like to this project and rebuild the image to experiment with them.

Usage

On OSX, you will need to install Docker Machine or boot2docker before running this image.

Building the image:

docker build -f Dockerfile -t keras-1 .

Running:

docker run -it keras-1

This will drop you to a bash shell in /root. From here you can launch any of the Keras examples in ./keras/examples.

Example imdb_cnn.py:

cd ./keras/examples
python imdb_cnn.py

About

Tensorflow + Keras as a Docker container for local experiments

License:MIT License


Languages

Language:Dockerfile 100.0%