code: def _load_lpips_model(
      base_network: str,
      linear_weights_version: str,
      use_linear_calibration: bool,
  ):
      model = lpips_package.LPIPS(
          net=base_network,
          version=linear_weights_version,
          lpips=use_linear_calibration,
          verbose=False,
      )
      model.eval()
  
      for param in model.parameters():
          param.requires_grad_(False)
  
      return model
  
imports: import lpips
  from torch import Tensor
  from ._multiscale_structural_similarity import _get_reduction_op
label_desc: Use image node_id 1 for calling a global function with example usage: _load_lpips_model(base_network, linear_weights_version, use_linear_calibration) and returns: model