Skip to main content

LPIPS-J

This is a minimal JAX/Flax port of lpips, as implemented in:

Only the essential features have been implemented. Our motivation is to support VQGAN training for DALL•E Mini.

It currently supports the vgg16 backend, leveraging the implementation in flaxmodels.

Pre-trained weights for the network and the linear layers are downloaded from the 🤗 Hugging Face hub.

Installation

  1. Install JAX for CUDA or TPU following the instructions at https://github.com/google/jax#installation.
  2. Install this package from the repository:
    pip install --upgrade git+https://github.com/pcuenca/lpips-j.git
    

Metadata

Release files for lpips-j 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lpips-j 0.0.6
File Size Uploaded Provenance Actions
lpips-j-0.0.6.tar.gz 7.2 kB Without provenance Details for lpips-j-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lpips-j 0.0.6
File Interpreter ABI Platform Actions
lpips_j-0.0.6-py3-none-any.whl Python 3 none any Details for lpips_j-0.0.6-py3-none-any.whl

Total release size: 14.7 kB

Release files / lpips-j-0.0.6.tar.gz

Download URL lpips-j-0.0.6.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
413ef9592d825998b53c86d8d249e0b0177c7a3ffeeb7fe2fb4ac67b57700353
BLAKE2b-256 checksum
How to use checksums
f1dc78097a26296b01a41f88d494abce2ec262edf6b45534620250e24d1a00f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Release files / lpips_j-0.0.6-py3-none-any.whl

Download URL lpips_j-0.0.6-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a408842d9719521e78349202732d71859f15b68172f20aafb08354cd028c5c02
BLAKE2b-256 checksum
How to use checksums
6d402f48e0cbaf0cedc9b788503ab89a5dcbb0537caed086d421c678da142da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.12

Security for lpips-j 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page