可能由于pytorch官网在国外服务器的原因,下图中的Package Manage;Python; CUDA选择老半天也没反应过来,且Run this command后的内容迟迟没有显示出来。烦躁。已将各版本Run this command后的内容总结好。
Linux Ubuntu系统如何安装pytorch呢?只需两步。
1.找到对应的版本后,复制Run this command后面的内容,如下图:
2.打开终端,粘贴。
下面将Linux Ubuntu 系统下pytorch的安装指令总结:
pytorch安装命令
OS :Linux,
Package Manager :conda,
Python :2.7,
CUDA :7.5
Run this command: conda install pytorch torchvision cuda75 -c pytorch
CUDA :8
Run this command: conda install pytorch torchvision -c pytorch
CUDA :9
Run this com