Well, that makes sense. Do you have any idea what am I doing wrong?
The output from the model, of one image is:
tensor([[3.8711e-05, 4.7626e-06, 7.6847e-07,  ..., 1.1946e-06, 2.9188e-06,
         1.8121e-06],
        [1.7615e-06, 3.0756e-06, 2.0859e-06,  ..., 5.7203e-06, 7.6894e-06,
         3.1614e-06],
        [1.8942e-06, 2.1382e-06, 1.1094e-06,  ..., 2.8606e-06, 5.4414e-06,
         1.8292e-06],
        ...,
        [6.1765e-06, 1.1547e-06, 7.4945e-07,  ..., 8.2501e-07, 6.4901e-07,
         3.4714e-06],
        [2.3444e-06, 1.0644e-06, 1.6311e-06,  ..., 3.1044e-06, 3.0752e-06,
         1.4126e-06],
        [3.0594e-05, 6.4542e-07, 6.8967e-06,  ..., 3.6540e-06, 2.4553e-06,
         8.3999e-06]])

with this sape: torch.Size([256, 256])
this what I get doing logits[0].shape. I have no idea what I am doing wrong and been struggling with this all afternoon. Any help is highly appreciated.