Andrew Zhuoer Feng

Results 1 comments of Andrew Zhuoer Feng

The reason might be you are calculating Tensors from different devices. I got this problem when CrossEntropyLoss cpu and cuda Tensors :) use `tensor1.cuda()` to convert a cpu tensor to...