1.pytorch cpu版本网站: https://pytorch.org/ gpu版本网站: https://pytorch.org/get-started/previous-versions/ gpu版本可能下载太慢,去清华同方 https://blog.csdn.net/zengding5524/article/details/109484757 2.测试是否成功代码 import torch # 如果pytorch安装成功即可导入 print(torch.cuda.is_available()
www.bilibili.com