SRGAN中RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available()
本程序所支持的环境可以用CPU版本的pytorch架构即可RuntimeError:AttemptingtodeserializeobjectonaCUDAdevicebuttorch.cuda.is_available()isFalse.IfyouarerunningonaCPU-onlymachine,pleaseusetorch.loadwithmap_location='cpu'tomap