我经常看到如何在intel和python3上安装pytorch 但没有python2 ...!
如何在intel和python2上安装pytorch
答案 0 :(得分:3)
您可以通过两种方式安装PyTorch
使用pip
和
使用conda
使用pip安装PyTorch
pip install torch==1.3.1+cpu torchvision==0.4.2+cpu -f https://download.pytorch.org/whl/torch_stable.html
通过conda
conda install pytorch torchvision cpuonly -c pytorch