计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
lpips_feature_distance【效率与协作】Compute LPIPS-style perceptual patch distances from normalized multi-layer feature differences with optional non-negative calibration weights.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when you need a lightweight, auditable implementation of the LPIPS distance mechanism from Zhang et al. 2018, especially for bounded recovery experiments where full pretrained networks may be unavailable.
Do not use it to claim full official LPIPS reproduction unless the feature extractor and learned weights are the real pretrained LPIPS assets. A deterministic proxy extractor must be labeled as proxy.
N x C x H x W, C x H x W, or H x W x C.minus_one_to_one or zero_to_one.scripts/lpips_distance.py.[-1,1] scale.Run:
python scripts/lpips_distance.py --self-test
python tests/test_lpips_distance.py
The bundled script uses standard-library deterministic proxy features. It is mechanism-faithful for reduced recovery but not a replacement for official pretrained AlexNet/VGG/SqueezeNet LPIPS scores.