mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00
36 lines
966 B
Plaintext
36 lines
966 B
Plaintext
# IT4Innovations 2019
|
|
|
|
easyblock = 'PythonPackage'
|
|
|
|
name = 'Keras'
|
|
version = '2.3.0'
|
|
versionsuffix = '-Tensorflow-1.13.1-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/keras-team/keras/archive']
|
|
sources = ['%(version)s.tar.gz']
|
|
|
|
use_pip = True
|
|
|
|
dependencies = [
|
|
('Python', '3.7.2', '', ('GCCcore', '8.2.0')),
|
|
('TensorFlow', '1.13.1', '-Python-3.7.2', ('foss', '2019a')),
|
|
# ('h5py', '2.7.0', '%(versionsuffix)s'), internal Python 3.7.2
|
|
# ('PyYAML', '3.12', versionsuffix), internal Python 3.7.2
|
|
]
|
|
|
|
# it defaults to Tensorflow
|
|
modextravars = {'KERAS_BACKEND': 'tensorflow'}
|
|
|
|
sanity_check_paths = {
|
|
'files': [],
|
|
'dirs': ['lib/python%(pyshortver)s/site-packages'],
|
|
}
|
|
|
|
moduleclass = 'math'
|