docstr: args:
      projection_mode: orthonal / perspective
      error_term: point-wise error term 
docstr_tok: ["args",":","projection_mode",":","orthonal","\/","perspective","error_term",":","point-wise","error","term"]
code: def __init__(
      self,
      projection_mode="orthogonal",
      criteria={"occ": nn.MSELoss()},
  ):
      """
      args:
          projection_mode: orthonal / perspective
          error_term: point-wise error term
      """
      super(BasePIFuNet, self).__init__()
      self.name = "base"
  
      self.criteria = criteria
  
      self.index = index
      self.projection = (
          orthogonal if projection_mode == "orthogonal" else perspective
      )
  
      self.preds = None
      self.labels = None
      self.nmls = None
      self.labels_nml = None
      self.preds_surface = None
  
file_path: pifuhd/lib/model/BasePIFuNet.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  from ..geometry import index, orthogonal, perspective
label_desc: Use image node_id 1 to create a new BasePIFuNet object from inherited base classes: nn with example: obj = BasePIFuNet(projection_mode, criteria)