code: def __init__(
      self, reference: tp.Optional[np.ndarray] = None, net: str = ""
  ) -> None:
      super().__init__(reference)
      self.net = net
      # pylint: disable=import-outside-toplevel
      try:
          import lpips
      except ImportError:
          raise UnsupportedExperiment(
              "LPIPS is not installed, please run 'pip install lpips'"
          )
      self._LPIPS = lpips.LPIPS
  
imports: import os
  import typing
  import torch
  import numpy
  import cv2
  from nevergrad.functions.base import UnsupportedExperiment
  from nevergrad.common.decorators import Registry
label_desc: Use image node_id 1 to create a new Lpips object from inherited base classes: ImageLoss with example: obj = Lpips(reference, net)