一: TypeError: can’t convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first. 翻译:不能将CUDA张量转换成numpy数组。需先将张量转换成CPU Tensor之后再转换成numpy。 Eg: 有如下错误: DEBUG: 错误修改 本人小白一枚,亦在学习过程中,将平时遇到的问题和解决方法记录下来 有错误一起讨论… 未完待续…