def METHOD_NAME(self):
    """Set the fields and modules"""
    super().METHOD_NAME()
    # setting up fields
    position_encoding = NeRFEncoding(
        in_dim=3, num_frequencies=16, min_freq_exp=0.0, max_freq_exp=16.0, include_input=True
    )
    direction_encoding = NeRFEncoding(
        in_dim=3, num_frequencies=4, min_freq_exp=0.0, max_freq_exp=4.0, include_input=True
    )
    self.field = NeRFField(
        position_encoding=position_encoding, direction_encoding=direction_encoding, use_integrated_encoding=True
    )
    # samplers
    self.sampler_uniform = UniformSampler(num_samples=self.config.num_coarse_samples)
    self.sampler_pdf = PDFSampler(num_samples=self.config.num_importance_samples, include_original=False)
    # renderers
    self.renderer_rgb = RGBRenderer(background_color=colors.WHITE)
    self.renderer_accumulation = AccumulationRenderer()
    self.renderer_depth = DepthRenderer()
    # losses
    self.rgb_loss = MSELoss()
    # metrics
    self.psnr = PeakSignalNoiseRatio(data_range=1.0)
    self.ssim = structural_similarity_index_measure
    self.lpips = LearnedPerceptualImagePatchSimilarity()