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

2 Likes

Could you resolve it so far?