in the custom data set the input data is set to torch using torch.from_numpy.
I am then converting them to cuda tensors in the def train() statement, is this the problem, should they be converted to cuda in the custom dataset???