can‘t convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory

NoSuchKey

おすすめ

転載: blog.csdn.net/ResumeProject/article/details/121643345