Package Details: python-lpips 0.1.4-1

Git Clone URL: https://aur.archlinux.org/python-lpips.git (read-only, click to copy)
Package Base: python-lpips
Description: LPIPS Similarity metric
Upstream URL: https://github.com/richzhang/PerceptualSimilarity
Licenses: BSD
Submitter: Freed
Maintainer: Freed (alhirzel)
Last Packager: Freed
Votes: 1
Popularity: 0.011809
First Submitted: 2023-03-10 16:48 (UTC)
Last Updated: 2023-03-10 16:48 (UTC)

Latest Comments

neXyon commented on 2025-08-11 11:52 (UTC)

I had to switch to the github release in order to have the weights included.

diff --git a/PKGBUILD b/PKGBUILD
index e742ab0..3f42205 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 pkgbase='python-lpips'
 pkgname=('python-lpips')
-_module='lpips'
+_module='PerceptualSimilarity'
 pkgver='0.1.4'
 pkgrel=1
 pkgdesc="LPIPS Similarity metric"
@@ -9,8 +9,8 @@ depends=('python')
 makedepends=('python-setuptools')
 license=('BSD')
 arch=('any')
-source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz")
-sha256sums=('3846331df6c69688aec3d300a5eeef6c529435bc8460bd58201c3d62e56188fa')
+source=("https://github.com/richzhang/$_module/archive/refs/tags/v$pkgver.tar.gz")
+sha256sums=('6b42640be6c4a35e70930ce4f28c5fdb7584aeea2b03be2ffc3128be0cd57bca')

 build() {
     cd "${srcdir}/${_module}-${pkgver}"