Windows安装torch(使用pytorch)

在安装过程中报错ModuleNotFoundError: No module named ‘tools.nnwrap’

  1. 方法一
    去官网选择适合自己电脑配置的版本
    Pytorch官网
    Windows安装torch(pytorch)
    使用命令conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
    缺点:太慢了,实在是等不了!!
  2. 方法二
    下载pytorch包,根据自己的python版本选择
    Pytorch下载地址
    Windows安装torch(pytorch)
    下载完后在保存目录中pip install torch-1.6.0-cp36-cp36m-win_amd64.whl即可

到此结束! PEACE !

相关文章:

  • 2021-07-09
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2021-07-04
  • 2021-09-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2023-03-06
  • 2021-05-17
  • 2022-12-23
  • 2021-09-06
  • 2021-10-08
相关资源
相似解决方案