zea.models.lpips¶
LPIPS model for perceptual similarity.
See original code: https://github.com/richzhang/PerceptualSimilarity As well as the paper: https://arxiv.org/abs/1801.03924
Functions
Get the linear head model for LPIPS. |
|
Get the VGG16 model for perceptual loss. |
Classes
|
Learned Perceptual Image Patch Similarity (LPIPS) metric. |
- class zea.models.lpips.LPIPS(*args, **kwargs)[source]¶
Bases:
BaseModel
Learned Perceptual Image Patch Similarity (LPIPS) metric.