Morning,
Silly question, but when using:
> criterion = torch.nn.BCEWithLogitsLoss(size_average=True,reduce=False, reduction=None)
BCE=criterion(out,data)

which gives the output of:
BCE
tensor([[[[-6.5510e-01,  3.3377e+00,  3.8248e+00,  ...,  3.8797e+00,
            7.2267e-01, -5.6749e-01],
          [ 4.6354e+00,  3.2439e+00,  2.5523e+00,  ...,  2.2153e+00,
            3.5900e+00,  2.6402e-01],
          [-9.9316e-01,  9.2173e-01, -1.6896e+00,  ...,  3.5983e+00,
            8.9532e-01, -6.6330e-01],
          ...,
          [ 2.1913e+00,  2.4635e+00, -3.7076e-01,  ...,  2.8466e-01,
            1.7843e+00,  1.4812e+00],
          [-7.6295e-02,  3.0910e+00,  1.1081e+00,  ...,  3.8564e-02,
            1.6032e+00,  2.9802e-01],
          [-1.1393e+00,  2.7563e+00, -1.7027e+00,  ..., -4.7357e-01,
            2.0175e+00, -2.9758e-01]],

         [[-2.9676e+00, -9.7755e-01, -1.7805e+00,  ...,  1.2246e+00,
           -1.1476e+00,  7.8534e-01],
          [-1.6817e-01,  2.9306e+00,  5.1950e-01,  ...,  6.9879e-01,
            6.4816e-01,  2.9168e+00],
          [-1.2073e+00,  1.3979e-01, -4.0174e+00,  ...,  1.4663e+00,
           -1.5716e+00,  2.3580e+00],

If I understand the command BCEWithLogitsLoss, it uses a sigmoid function, so the $64k is why do i get values in the outut of BCE which are outside +/-1?
I realise its something i have down but not sure what?
Cheers,
chaslie