def run(self, num_epochs: int = 1) -> None:
        r"""Run training epochs.

        Args:
            num_epochs: number of epochs to run. Default: 1.

        """
        for i_epoch in range(num_epochs):
            # train one epoch
            epoch_psnr: float = self._train_one_epoch()

            if i_epoch % 10 == 0:
                current_time = datetime.now().strftime("%H:%M:%S")  # noqa: DTZ005
                logger.info("Epoch: %d: epoch_psnr = %f; time: %s", i_epoch, epoch_psnr, current_time)
Run training epochs.

        Args:
            num_epochs: number of epochs to run. Default: 1.

        
kornia/nerf/nerf_solver.py