安装 Pytorch

BBigSun 评论483阅读模式

1、安装 anaconda

anacoda地址:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

CUDA NVIDIA下载:文章源自十年又十年-https://www.bbigsun.com/484.html

新版本:https://www.nvidia.cn/Download/index.aspx?lang=cn文章源自十年又十年-https://www.bbigsun.com/484.html

历史版本:https://www.nvidia.cn/Download/Find.aspx?lang=cn文章源自十年又十年-https://www.bbigsun.com/484.html

安装 Pytorch文章源自十年又十年-https://www.bbigsun.com/484.html

CUDA下载地址(清华镜像源):CUDA Toolkit 10.1 update1 Archive | NVIDIA Developer文章源自十年又十年-https://www.bbigsun.com/484.html

参考: https://blog.csdn.net/weixin_44904136/article/details/123285884文章源自十年又十年-https://www.bbigsun.com/484.html

2、安装 Pytorch

https://pytorch.org/get-started/locally/ 文章源自十年又十年-https://www.bbigsun.com/484.html

# CPU 版本
pip install torch torchvision torchaudio
# GPU 版本
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117

3、安装 Jupyter notebook

pip install jupyter notebook -i https://mirrors.aliyun.com/pypi/simple/
文章源自十年又十年-https://www.bbigsun.com/484.html文章源自十年又十年-https://www.bbigsun.com/484.html

纸上得来终觉浅,绝知此事要躬行。

weinxin
17688689121
我的微信
微信扫一扫
BBigSun
  • 本文由 BBigSun 发表于 2023年 6月 3日 07:55:49
  • 转载请务必保留本文链接:https://www.bbigsun.com/484.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定