Hi to everyone.
I have 5000 ground truth and RGB images, then I have to note that I have many black pixels on ground truh image, compared to colorful pixels, as a result, cross entropy loss is not optimized while training. Therefore, my target is to implement Weighted Cross Entropy Loss, aiming at providing more weights to colourful pixels, rather than black pixels.