I have a segmentation-like task, where the output is highly unbalanced. In order to address the fact it’s unbalanced I use Focal Loss. I have another piece of information that I wish to use in the training loss and it’s the fact that the segmentation maps are always symmetric.
Is there a way to use this information in the loss?
I couldn’t find a way.