摘要: 错误信息: 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 阅读全文
posted @ 2022-04-15 20:16 liyuSCU 阅读(2215) 评论(0) 推荐(0) 编辑
摘要: 将 im_as_ten = torch.from_numpy(im_as_arr).float() 改成 im_as_ten = torch.Tensor(im_as_arr).float() 阅读全文
posted @ 2022-04-15 20:11 liyuSCU 阅读(3957) 评论(0) 推荐(0) 编辑