about summary refs log tree commit diff
path: root/gn
diff options
context:
space:
mode:
Diffstat (limited to 'gn')
-rw-r--r--gn/packages/machine-learning.scm34
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