Is there a reason for torchvision.transforms.ToTensor() to convert an nd.array to a LongTensor instead of FloatTensor when the dtype of the array is int64?It took me a while to figure out why my dataloader was returning LongTensors for target AND x. When i convert my image array into float64, everything works as expected. Is there an expectation that image arrays should be normalized and thus have to be float64?
Thanks, sorry if this is something obvious I am missing.