Horje
install pytorch cuda 10 Code Example
get pytorch version
import torch
print(torch.__version__)
how to install pytorch 0.4.1
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org torch===0.4.1 torchvision===0.4.2 -f https://download.pytorch.org/whl/torch_stable.html
install pytorch cuda 10
# CUDA 9.2
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=9.2 -c pytorch

# CUDA 10.0
conda install pytorch==1.2.0 torchvision==0.4.0 cudatoolkit=10.0 -c pytorch

# CPU Only
conda install pytorch==1.2.0 torchvision==0.4.0 cpuonly -c pytorch
Source: pytorch.org




Shell

Related
cuda 10 install pytorch Code Example cuda 10 install pytorch Code Example
git remote add Code Example git remote add Code Example
edit file as root ubuntu Code Example edit file as root ubuntu Code Example
ssmtp settings ubuntu Code Example ssmtp settings ubuntu Code Example
git pull a new branch froma remote repo Code Example git pull a new branch froma remote repo Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10