irtk.loss.l1_loss

irtk.loss.l1_loss(target_image: torch.Tensor, rendered_image: torch.Tensor) torch.Tensor

Computes the L1 loss between two images.

Parameters:
  • target_image – The target image in PyTorch format.

  • rendered_image – The rendered image in PyTorch format.

Returns:

The L1 loss between the two image.