diff options
author | Frederick Muriuki Muriithi | 2025-08-11 10:07:32 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2025-08-11 11:04:46 -0500 |
commit | 1039ea213dea136364046e4503b3d24e527d995e (patch) | |
tree | 926d8a6c5d8639b02ad8a93b4d6eab2f115158a0 | |
parent | 781d73a5194f615292d8df5ad7a960ec11369d7b (diff) | |
download | guix-bioinformatics-1039ea213dea136364046e4503b3d24e527d995e.tar.gz |
python-keras-applications: New variable
* gn/packages/machine-running.scm: Copy definition of `python-keras-applications` from guix main-line since it is no longer defined there for latest guix.
-rw-r--r-- | gn/packages/machine-learning.scm | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/gn/packages/machine-learning.scm b/gn/packages/machine-learning.scm index 6a8bf33..ebb89e2 100644 --- a/gn/packages/machine-learning.scm +++ b/gn/packages/machine-learning.scm @@ -5,7 +5,13 @@ #:use-module (gnu packages machine-learning) #:use-module (guix download) #:use-module (guix build-system python) - #:use-module (gnu packages python-xyz)) + #:use-module (gnu packages python-xyz) + #:use-module (gnu packages graphviz) + #:use-module (gnu packages python-science) + #:use-module (gnu packages check) + #:use-module (gnu packages python-check) + #:use-module (gnu packages sphinx) + #:use-module (gnu packages python-web)) (define-public tensorflow-native (package @@ -24,6 +30,32 @@ (package-input-rewriting/spec `(("tensorflow" . ,(const tensorflow-native))))) +(define-public python-keras-applications + (package + (name "python-keras-applications") + (version "1.0.8") + (source + (origin + (method url-fetch) + (uri (pypi-uri "Keras_Applications" version)) + (sha256 + (base32 + "1rcz31ca4axa6kzhjx4lwqxbg4wvlljkj8qj9a7p9sfd5fhzjyam")))) + (build-system python-build-system) + ;; The tests require Keras, but this package is needed to build Keras. + (arguments '(#:tests? #f)) + (propagated-inputs + (list python-h5py python-numpy)) + (native-inputs + (list python-pytest python-pytest-cov + python-pytest-xdist)) + (home-page "https://github.com/keras-team/keras-applications") + (synopsis "Reference implementations of popular deep learning models") + (description + "This package provides reference implementations of popular deep learning +models for use with the Keras deep learning framework.") + (license license:expat))) + (define-public python-keras-preprocessing (package |