Yeah, sorry for the confusion. I tried to explain that you would have to have the target values to calculate the loss.



 Angelos_Papangelis:

my question is how I can have them.


You would need to create them manually or download the targets, if you are working on a public dataset (they usually provide inputs and the corresponding targets).