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

lucasjin
Mon, 05 Jun 2023 07:25:11 +0000

I think I know why, am I solved it.