how to install pytorch in anaconda windows 10 code example
Example 1: conda install pytorch
conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
Example 2: install pytorch for cuda 10.0
pip install torch==1.6.0 torchvision==0.7.0
pip install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch==1.6.0+cu92 torchvision==0.7.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html
pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
Example 3: pytorch anaconda install windows
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch