IR-Net icon indicating copy to clipboard operation
IR-Net copied to clipboard

Error about devices

Open Harr7y opened this issue 2 years ago • 0 comments

grad_input = k * t * (1 - torch.pow(torch.tanh(input * t), 2)) * grad_output

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

Harr7y avatar Jan 12 '22 08:01 Harr7y