RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:1 and cuda:0!

zian2254
Mon, 08 Jan 2024 09:54:43 +0000

THX! your solution works.