code: def load_from_pretrained(self, name="vgg_lpips"):
      ckpt = get_ckpt_path(name, "sgm/modules/autoencoding/lpips/loss")
      self.load_state_dict(
          torch.load(ckpt, map_location=torch.device("cpu")),
          strict=False,
      )
      print("loaded pretrained LPIPS loss from {}".format(ckpt))
  
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 2 for calling the LPIPS obj's underlying member method code with example usage: obj.load_from_pretrained(name) without return types