about summary refs log tree commit diff
path: root/gn/packages/machine-learning.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gn/packages/machine-learning.scm')
-rw-r--r--gn/packages/machine-learning.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gn/packages/machine-learning.scm b/gn/packages/machine-learning.scm
index ebb89e2..541b3b6 100644
--- a/gn/packages/machine-learning.scm
+++ b/gn/packages/machine-learning.scm
@@ -11,14 +11,15 @@
   #:use-module (gnu packages check)
   #:use-module (gnu packages python-check)
   #:use-module (gnu packages sphinx)
-  #:use-module (gnu packages python-web))
+  #:use-module (gnu packages python-web)
+  #:use-module (past packages python27))
 
 (define-public tensorflow-native
   (package
-    (inherit tensorflow)
+    (inherit tensorflow-lite)
     (name "tensorflow-native")
     (arguments
-     (substitute-keyword-arguments (package-arguments tensorflow)
+     (substitute-keyword-arguments (package-arguments tensorflow-lite)
        ((#:substitutable? _ #f) #f)
        ((#:configure-flags flags)
         `(cons
@@ -77,7 +78,7 @@ models for use with the Keras deep learning framework.")
            python-pytest
            python-pytest-cov
            python-pytest-xdist
-           tensorflow))
+           tensorflow-lite))
     (home-page "https://github.com/keras-team/keras-preprocessing/")
     (synopsis "Data preprocessing and augmentation for deep learning models")
     (description
@@ -161,7 +162,7 @@ with image data, text data, and sequence data.")
            python-pyyaml
            python-scipy
            python-six
-           tensorflow
+           tensorflow-lite
            graphviz))
     (native-inputs
      (list python-flaky