Hi @ptrblck ,
Thank you for replying. I check it, and it is incorrect (value= [0,1]). But this problem only occurs after transforming the targets to long tensor. Before this step the unique values are correct (0, 0.333, 0.666, 1). Observation: I divide the pixels by 3, to normalize them.
Why does this change when transform to long tensor is occurring? How can I solve it?
Best,
Giulia