code: def from_pretrained(cls, name="vgg_lpips"):
      if name != "vgg_lpips":
          raise NotImplementedError
      model = cls()
      ckpt = get_ckpt_path(name)
      model.load_state_dict(
          torch.load(ckpt, map_location=torch.device("cpu")),
          strict=False,
      )
      return model
  
imports: from collections import namedtuple
  import torch
  import torch.nn
  from torchvision import models
  from ..util import get_ckpt_path
label_desc: Use image node_id 3 for calling the LPIPS obj's underlying member method code with example usage: obj.from_pretrained(cls, name) and returns: model