1.到https://pytorch.org/
2.根据自己的情况,选择相应的
PyTorch Build Stable (1.8.1)
Your OS Linux
Package Pip
Language Python
Compute Platform CUDA 10.2
Run this Command: pip install torch torchvision torchaudio
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
3、等待安装成功即可
4.文档https://pytorch.org/docs/stable/index.html
5 中文:https://pytorch.org/docs/stable/index.html
sudo pacman -Syyu
yay -S anaconda
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
source /opt/anaconda/bin/activate
conda deactivate
conda update anaconda
anaconda-navigator
© 著作权归作者所有
举报
发表评论
0/200