conda pytorch 1.6 gpu code example
Example 1: get pytorch version
import torch
print(torch.__version__)
Example 2: pytorch anaconda install windows
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
import torch
print(torch.__version__)
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch