Dockerized Keras with Theano and TensorFlow.
Run an example:
docker run --rm -it ermaker/keras sh -c 'curl -sSL https://github.com/fchollet/keras/raw/master/examples/mnist_mlp.py | python'
Run Keras with TensorFlow: (See this for more information)
docker run --rm -it -e KERAS_BACKEND=tensorflow ermaker/keras sh -c 'curl -sSL https://github.com/fchollet/keras/raw/master/examples/mnist_mlp.py | python'
Check the backend:
docker run --rm -it -e KERAS_BACKEND=tensorflow ermaker/keras python -c "from keras import backend; print backend._BACKEND"
Run your script:
docker run --rm -it -v $(pwd)/YOUR_SCRIPT.py:/YOUR_SCRIPT.py:ro ermaker/keras python YOUR_SCRIPT.py