我的操作系统是CentOS 7,我想安装PyTorch所以我做了以下事情:
(pt_gpu)[martin @ A08-R32-I196-3-FZ2LTP2 mlm] $ conda -Vconda 4.6.2
(pt_gpu)[martin @ A08-R32-I196-3-FZ2LTP2 mlm] $ conda …
根据他们的官方网站( https://pytorch.org ),他们安装名为pytorch的包,而不是pytorch-gpu。
conda install pytorch torchvision -c pytorch