直接操作 conda install pytorch=1.0.0 torchvision cudatoolkit=10.0 -c pytorch
连接超时
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
先安装torch和torchvision
pip install torch==1.0.0 -f https://download.pytorch.org/whl/cu80/stable
pip install torchvision==0.2.2
cudatoolkit=8.0 pip安装不了
再conda install cudatoolkit=8.0 就可以了。。。。
不知道有没有坑