新人在尝试训练ai的时候,系统出现了如下报错:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
请问这该怎么解决啊?
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
请问这该怎么解决啊?