From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OLrZMwEDgmNh5wAAbAwnHQ (envelope-from ) for ; Sat, 26 Nov 2022 13:13:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sDiYMwEDgmOHUwEAauVa8A (envelope-from ) for ; Sat, 26 Nov 2022 13:13:53 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 65D37262FD for ; Sat, 26 Nov 2022 13:13:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyu3e-0004ta-RX; Sat, 26 Nov 2022 07:13:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyu3M-0004pk-4O for guix-patches@gnu.org; Sat, 26 Nov 2022 07:13:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyu3L-0005LX-Rr for guix-patches@gnu.org; Sat, 26 Nov 2022 07:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oyu3L-00018h-Nw for guix-patches@gnu.org; Sat, 26 Nov 2022 07:13:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59607] [PATCH 6/8] gnu: Add python-facexlib. References: In-Reply-To: Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Nov 2022 12:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59607 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59607@debbugs.gnu.org Received: via spool by 59607-submit@debbugs.gnu.org id=B59607.16694647364276 (code B ref 59607); Sat, 26 Nov 2022 12:13:03 +0000 Received: (at 59607) by debbugs.gnu.org; 26 Nov 2022 12:12:16 +0000 Received: from localhost ([127.0.0.1]:38055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyu2a-00016n-9Q for submit@debbugs.gnu.org; Sat, 26 Nov 2022 07:12:16 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:33595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oyu2M-00014z-CL for 59607@debbugs.gnu.org; Sat, 26 Nov 2022 07:12:03 -0500 Received: by mail-wr1-f65.google.com with SMTP id i12so10269080wrb.0 for <59607@debbugs.gnu.org>; Sat, 26 Nov 2022 04:12:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:from:to:cc:subject:date:message-id:reply-to; bh=9NsqULGLV7F1mlBU7S/5FBBnkqnT9UaH4yRgTPzuJpE=; b=lD6mj3QeEi3YqNPpru7A7m6ZML4nryTLe7qQjIc9V4TJU+IYumU8U15tbzMCuOGv9S T7jdmVZXlQFN3bJr7N244SVawTzK1uAmPZ8Jsq2CEPepy3WDh7QXZeNjDugnyvaNWaxn kCZNDMyGkaoOJlwOR0WsZHvv6PrVlbeKef7DzbwAfm2CXOHWrZ8GlPfvWcpYxhiOneeg 81K7Xh01KXD+f/ac0K9DCWKYnFWwGEKMV7V/CiEL6fV7pLQvYqJ+nDC+x4LcKd2P8Om8 ITzFiQczgyr2LVrFwZlaf5I+WBM1UVG7M828bA/eYwo5B1r3OZAYdq6MHwevlWOnB7cb qsPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9NsqULGLV7F1mlBU7S/5FBBnkqnT9UaH4yRgTPzuJpE=; b=k89njUDRivHEhS9m7dXW7K2+trS6/UlLThkc78eA2KfRgQzkfRfcOSx/NzAigSs7Xe P1BDpfug3pbOlRRqQMluApLvrDs8AjisCTqqp0JRg5Qt85yuIIDJr2ZoX/RpDQiwxiQC 8ogGtO93GYV5lQiCTFYGzXaKiyMReIEcyn+/b1e0bt/EQ2Wb3M8NcdUySW9HN66dlyXS NzsTuv1zyGq329sV8D1f/SG5+pJobIfqQz4NL8QoRqI6xhdzKCqQj9bgzJ6fY7e0OSzP +QKo5U12d1QqrZNEuFVX2liAXVWnj2za5t6dIgrE65GY0VUE7OjQwG9xKDIbDZmcWXrO R7ww== X-Gm-Message-State: ANoB5pldyruxA1HeC8oGTUbTwxK3Tt5q3Y560gAzD8RukfsO0Y6ulwOD PRVL2/WNCrTkL4N6nXvYGUT2Lmar6to= X-Google-Smtp-Source: AA0mqf6ILARB8SK04C494dNdPZmA0cyGTCB8AEdnQz9n/5G1XPTILR0CHbse7G+CJhruIKzRQteDRg== X-Received: by 2002:a5d:4308:0:b0:241:e80e:225a with SMTP id h8-20020a5d4308000000b00241e80e225amr11953776wrq.560.1669464716887; Sat, 26 Nov 2022 04:11:56 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id az26-20020a05600c601a00b003d01b84e9b2sm8695059wmb.27.2022.11.26.04.11.56 for <59607@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 26 Nov 2022 04:11:56 -0800 (PST) From: Liliana Marie Prikler Date: Fri, 25 Nov 2022 23:31:24 +0100 Content-Transfer-Encoding: 7bit Message-ID: <237e70d8b319a981b9b992e4d7577aca8a1e988f.camel@gmail.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669464833; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9NsqULGLV7F1mlBU7S/5FBBnkqnT9UaH4yRgTPzuJpE=; b=AkJjoOO+E2bxC6Nx3AH8ZlLU5F8xNnglB3LRcUrZcqPtQ92E+f4GT22M+5oEsuNXuTYt6J UYTne+gZgbzlg/AMmuocleUkFP269m4wQ+N8xq3I8DXarXPRh5Tw39YN87dyAYeL/ieFED tlfZMhxuCfOaIvfdrsYkgPVRRtx/6qhPbTfMRuztJOnkLSK6AqjpMGg79e3A5TgP/WKF8Y b7xYDMrvnFqV8XMMP/LoFFK3Os4lSHHGIVf6YUK2Hw0qg5a2XWxGPmwuUY2bjzFqmNV4cP mT6vlI4avzjVahxGZucHFZaPEjVPe5lcx1KDHt+LpsGd7BZyrfg01CnSgwiDFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669464833; a=rsa-sha256; cv=none; b=dJYRAEq1UcvWwiSd36LGlKQUUvsowGtyYPBxlvgNTH+e1SQ0d1vNio43G1RRcD3Gc9GB0D Mun3ddWidUfXvYUEIFQuTMAXLTUvtOjJ21a4uOsRPXPAaW+VLTvcc0QxxEhM/IZyzXFtwA fpqIqQgyzjH+T42R9Cxc3BEhXLfulPvCKESYIbymwlTLHJykIXCManWxez6htXm6cQThBj Tmg9DFQA+z5vGat8Nqf6tx1qsJzSSf1l1Epm9KItGP4mMiV12wltC2x4CJ6KGBmMz1vvbr xpN+FEuqWgB1M2hWICgJl0LxSCG8/Ae74nICRJ4FOHGerpkGl8AZIn+7k0rmpA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=lD6mj3Qe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=lD6mj3Qe; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 65D37262FD X-Spam-Score: 6.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: 7m4IzA+V+9oF * gnu/packages/machine-learning.scm (python-facexlib): New variable. --- gnu/packages/machine-learning.scm | 43 +++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index a5767a2c31..6116834578 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -816,6 +816,49 @@ (define-public python-basicsr artifacts.") (license license:asl2.0))) +(define-public python-facexlib + (package + (name "python-facexlib") + (version "0.2.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "facexlib" version)) + (modules '((guix build utils))) + (snippet + #~(begin (substitute* (find-files "." "\\.py$") + (("\\.cuda\\(\\)") "") + (("'cuda' if .* else ") "") + (("'cuda'") "'cpu'")))) + (sha256 + (base32 + "1r378mb167k2hynrn1wsi78xbh2aw6x68i8f70nmcqsxxp20rqii")))) + (build-system python-build-system) + (arguments + (list #:tests? #f ; No tests + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-requirements + (lambda _ + (substitute* "requirements.txt" + (("opencv-python") ""))))))) ; installed without egg-info + (propagated-inputs (list opencv + python-filterpy + python-numba + python-numpy + python-pillow + python-scipy + python-pytorch + python-torchvision + python-tqdm)) + (native-inputs (list python-cython)) + (home-page "https://github.com/xinntao/facexlib") + (synopsis "Basic face library") + (description "This package provides a collection of face-related +functions, such as detection, alignment, recognition or tracking.") + (license (list license:gpl3+ + license:asl2.0 + license:expat)))) + (define-public ncnn (package (name "ncnn") -- 2.38.1