Ok so from the PANDA description I assume, that each of the 3 channels corresponds to indivdual classes and the channels are binary. You would need to adapt the U-Net number of classes in order to predict the three channels. Then something like a Dice-Loss is probably a good way to calculate the loss.