思路是换源:
pip install torch==1.4.0 torchvision==0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
缺点:速度有一点点慢。
安装完后可以检查一下是否为GPU版本:
torch.cuda.is_available()
思路是换源:
pip install torch==1.4.0 torchvision==0.5.0 -f https://download.pytorch.org/whl/torch_stable.html
缺点:速度有一点点慢。
安装完后可以检查一下是否为GPU版本:
torch.cuda.is_available()