From ScientificComputing
Jump to: navigation, search


Python, library, machine learning


Keras is a high-level neural networks API, written in Python and capable of running on top of either TensorFlow or Theano. It was developed with a focus on enabling fast experimentation. Being able to go from idea to result with the least possible delay is key to doing good research.

Available versions

Legacy versions Supported versions New versions
1.1.1, 1.2.0, 1.2.2, 2.0.6, 2.0.8, 2.2.4

Environment modules

Version Module load command Additional modules loaded automatically
1.1.1 module load new gcc/4.8.2 python/2.7.12 openblas/0.2.13_seq
1.2.0 module load new gcc/4.8.2 python/3.4.3 openblas/0.2.13_seq
1.2.2 module load new gcc/4.8.2 python/3.6.0 openblas/0.2.13_seq sqlite/3.15.0
2.0.6 module load new gcc/4.8.2 python/2.7.6 openblas/0.2.13_seq
2.0.6 module load new gcc/4.8.2 python/2.7.13 openblas/0.2.13_seq sqlite/3.15.0
2.0.8 module load new gcc/4.8.2 python/2.7.14 openblas/0.2.13_seq
2.0.8 module load new gcc/4.8.2 python/3.6.1 openblas/0.2.13_seq
2.2.4 module load new gcc/4.8.2 python/3.7.1 openblas/0.2.13_seq

Interactive session

You can start an interactive Keras session on the login nodes by loading the corresponding modules and starting the Python interpreter.
[leonhard@euler10 ~]$ module load new gcc/4.8.2 python/3.6.0
Autoloading openblas/0.2.13_seq and sqlite/3.15.0
[leonhard@euler10 ~]$ python
Python 3.6.0 (default, Feb 10 2017, 09:00:08) 
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import keras
Using TensorFlow backend.
>>> keras.__version__
Please note that you should use interactive sessions only for very short test that do not use a lot of CPU capacity. You have to submit all other computations as a batch job.

How to submit a job

Keras is a Python package. Please check Python page for information about how to submit a Python batch job.

License information

MIT License