Cannot pin 'torch.cuda.LongTensor' only dense CPU tensors can be pinned

Have an error when i try to train the model using a gpu with pytorch

1 Like