Sign inSign up

miseyu/tensorflow-keras-docker

By miseyu

•Updated over 9 years ago

tensorflow keras for docker

Image
0

323

miseyu/tensorflow-keras-docker repository overview

⁠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 -d -p 8888:8888 -v /opt/docker/tensorflow-keras/notebooks:/root/notebooks --name tensorflow-keras miseyu/tensorflow-keras-docker

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

Tag summary

Content type

Image

Digest

Size

420.4 MB

Last updated

over 9 years ago

docker pull miseyu/tensorflow-keras-docker