安装anaconda
conda使用清华源
pip也使用清华源
见tensorflow安装
创建虚拟环境
conda create -n pytorch python==3.7.7
pip安装
pip3 install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio===0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
安装anaconda
conda使用清华源
pip也使用清华源
见tensorflow安装
创建虚拟环境
conda create -n pytorch python==3.7.7
pip安装
pip3 install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio===0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html