code: def __init__(self, use_dropout=True):
      super().__init__()
      self.scaling_layer = ScalingLayer()
      self.chns = [64, 128, 256, 512, 512]  # vg16 features
      self.net = vgg16(pretrained=True, requires_grad=False)
      self.lin0 = NetLinLayer(self.chns[0], use_dropout=use_dropout)
      self.lin1 = NetLinLayer(self.chns[1], use_dropout=use_dropout)
      self.lin2 = NetLinLayer(self.chns[2], use_dropout=use_dropout)
      self.lin3 = NetLinLayer(self.chns[3], use_dropout=use_dropout)
      self.lin4 = NetLinLayer(self.chns[4], use_dropout=use_dropout)
      self.load_from_pretrained()
      for param in self.parameters():
          param.requires_grad = False
  
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 1 to create a new LPIPS object from inherited base classes: nn with example: obj = LPIPS(use_dropout)