Keras is a high level deep learning API that can utilize Tensorflow or Theano. Currently, we support only the Tensorflow backend and only the CPU version.
We have setup Keras on Knot running on a container based on Singularity which uses the Ubuntu kernel.
To use Keras and/or Tensorflow include the following lines in your .bashrc (or .profile)
export PATH=/sw/csc/singularity/bin/:$PATH export LD_LIBRARY_PATH=/sw/csc/singularity/lib/singularity:$LD_LIBRARY_PATH
This is pretty much what you need to do!
There is an example adapted from Keras repository located under
Simply copy the submit.job file and run your own python script which utilizes Keras.