MCPcopy Create free account
hub / github.com/DSL-Lab/StreamSplat / get_lpips

Function get_lpips

utils/metrics.py:23–24  ·  view source on GitHub ↗
(device: torch.device)

Source from the content-addressed store, hash-verified

21
22@cache
23def get_lpips(device: torch.device) -> LPIPS:
24 return LPIPS(net="vgg").to(device)
25
26
27@torch.no_grad()

Callers 1

compute_lpipsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected