摘要:
错误信息: RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine 阅读全文
摘要:
将 im_as_ten = torch.from_numpy(im_as_arr).float() 改成 im_as_ten = torch.Tensor(im_as_arr).float() 阅读全文