Page 1 of 1

Loss Function

Posted: Fri Oct 04, 2019 8:55 pm
by p96xl

Whats the difference between all the loss functions? and which one will give me the best results? Also, does Penalize Mask Loss improve results?


Re: Loss Function

Posted: Fri Oct 04, 2019 9:35 pm
by torzdf

There is a training guide coming soon. In brief:

torzdf wrote:
  • Loss
    The loss function to use.

    There are various different ways to calculate Loss, or for a NN to discern how well it is doing at training a model. I won't go into details of each of the functions available, as it would be a somewhat lengthy process and there is plenty of information about each of these functions on the internet.

    • Loss Function - The most popular loss methods to use are MAE (Mean Absolute Error) and SSIM (Structural Similarity). My personal preference is to use SSIM.

    • Penalized Mask Loss - This option dictates whether areas of the image that fall outside of the face area should be given less importance than areas that fall inside the face area. This option should always be enabled