guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/07: gnu: Add python-torchfile.


From: guix-commits
Subject: 01/07: gnu: Add python-torchfile.
Date: Fri, 8 Jul 2022 12:42:10 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit c6136b48c2fb0c4a6521dcc923358946ec50b8d8
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jul 7 14:27:48 2022 +0200

    gnu: Add python-torchfile.
    
    * gnu/packages/machine-learning.scm (python-torchfile): New variable.
---
 gnu/packages/machine-learning.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index 52db4795b0..9530910530 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3092,6 +3092,26 @@ Note: currently this package does not provide GPU 
support.")
 and common image transformations for computer vision.")
     (license license:bsd-3)))
 
+(define-public python-torchfile
+  (package
+    (name "python-torchfile")
+    (version "0.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "torchfile" version))
+              (sha256
+               (base32
+                "0vhklj6krl9r0kdynb4kcpwp8y1ihl2zw96byallay3k9c9zwgd5"))))
+    (build-system python-build-system)
+    (arguments '(#:tests? #false)) ;there are no tests
+    (propagated-inputs
+     (list python-numpy))
+    (home-page "https://github.com/bshillingford/python-torchfile";)
+    (synopsis "Torch7 binary serialized file parser")
+    (description "This package enables you to deserialize Lua torch-serialized 
objects from
+Python.")
+    (license license:bsd-3)))
+
 (define-public python-hmmlearn
   (package
     (name "python-hmmlearn")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]