richzhang/PerceptualSimilarity

LPIPS metric. pip install lpips

47
/ 100
Emerging

Computes learned perceptual similarity between image patches using pretrained deep networks (AlexNet, VGG, or SqueezeNet) with linearly calibrated intermediate activations, outperforming traditional metrics like SSIM on human judgments. Includes the BAPPS dataset with 95k+ human-annotated triplets for training and evaluation across tasks like super-resolution, deblurring, and color correction. Supports both metric evaluation and backpropagation for use as a perceptual loss in optimization pipelines via PyTorch.

4,185 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 21 / 25

How are scores calculated?

Stars

4,185

Forks

523

Language

Python

License

BSD-2-Clause

Last pushed

Jul 02, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/richzhang/PerceptualSimilarity"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.