hi @ptrblck thanks for your answer,
I wanted to ask also what Loss function is better suited when i have a color image as output.
I m actually building a neural network for optical flo estimation and the output is flo from who i compute a colored image.