Merge branch 'it4i-anselm'

This commit is contained in:
Lukáš Krupčík 2017-10-27 11:15:16 +02:00
commit e2a5ba0f57

View File

@ -0,0 +1,33 @@
easyblock = 'PythonPackage'
name = 'Keras'
version = '2.0.8'
versionsuffix = '-Tensorflow-1.1.0-CUDA-8.0.44-Python-%(pyver)s'
homepage = 'https://keras.io/'
description = """Keras is a minimalist, highly modular neural networks library, written in Python and
capable of running on top of either TensorFlow or Theano."""
toolchain = {'name': 'dummy', 'version': ''}
source_urls = ['https://github.com/fchollet/keras/archive']
sources = ['master.zip']
use_pip = True
dependencies = [
('Python', '3.6.1'),
('Tensorflow', '1.1.0', '-CUDA-8.0.44-Python-%(pyver)s'),
# ('h5py', '2.7.0', '%(versionsuffix)s'), internal Python 3.6.1
# ('PyYAML', '3.12', versionsuffix), internal Python 3.6.1
]
# it defaults to Tensorflow
modextravars = {'KERAS_BACKEND': 'tensorflow'}
sanity_check_paths = {
'files': [],
'dirs': ['lib/python%(pyshortver)s/site-packages'],
}
moduleclass = 'math'