How to install pytorch in Anaconda with conda or pip?

后端 未结 9 1257
星月不相逢
星月不相逢 2020-12-16 11:50

I am trying to install pytorch in Anaconda to work with Python 3.5 in Windows. Following the instructions in pytorch.org I introduced the following code in Anaconda:

9条回答
  •  青春惊慌失措
    2020-12-16 12:31

    For linux, cuda9.0, python3.6:

    pip3 install http://download.pytorch.org/whl/cu90/torch-0.3.1-cp36-cp36m-linux_x86_64.whl

    pip3 install torchvision

    For other cuda/python version: check website: https://ptorch.com/news/145.html

提交回复
热议问题