Thank you very much for your contribution, I have a question. When I run the training code, the following error occurs:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper__index_select)
But I can't find the problem. Looking forward to your reply, thank you!
Thank you very much for your contribution, I have a question. When I run the training code, the following error occurs:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument index in method wrapper__index_select)
But I can't find the problem. Looking forward to your reply, thank you!