code: def __init__(self, cfg):
      super().__init__(cfg)
      self.prompt = cfg.prompt
      self.negative_prompt = cfg.negative_prompt
      self.front_prompt = cfg.front_prompt
      self.side_prompt = cfg.side_prompt
      self.back_prompt = cfg.back_prompt
  
      self.nerf_cfg = cfg.nerf
      self.renderer_cfg = cfg.renderer
      self.guidance_cfg = cfg.guidance
  
      nerf = self.from_config_dict(cfg.nerf)
      material = self.from_config_dict(cfg.material)
      background = self.from_config_dict(cfg.background)
      self.renderer = self.build_renderer(
          cfg.renderer, nerf, material, background
      )
      self.guidance = None
  
file_path: NeMo/nemo/collections/multimodal/models/nerf/txt2nerf_base.py
imports: from nemo.collections.multimodal.models.nerf.base import NerfModelBase
label_desc: Use image node_id 1 to create a new Txt2NerfBase object from inherited base classes: NerfModelBase with example: obj = Txt2NerfBase(cfg)