备份记录环境搭建过程:
下载:Anaconda3-5.0.1-Windows-x86_64.exe (链接:https://pan.baidu.com/s/1i6qhPDr 密码:c6ay)
然后命令(看注释哈):
# If your main Python version is not 3.5 or 3.6
conda create -n test python=3.6 numpy pyyaml mkl
# for CPU only packages
conda install -c peterjc123 pytorch
# for Windows 10 and Windows Server 2016, CUDA 8
conda install -c peterjc123 pytorch cuda80
# for Windows 10 and Windows Server 2016, CUDA 9
conda install -c peterjc123 pytorch cuda90
# for Windows 7/8/8.1 and Windows Server 2008/2012, CUDA 8
conda install -c peterjc123 pytorch_legacy cuda80
安装时可能出现说网络不畅http断了之类的,多试几次就好了
喜欢本文请打赏,一毛两毛也是个意思,么么哒
支F宝账号:2363891614@qq.com