Only how to install pytorch
Development environment OS: Ubuntu 16.04 Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz Gravo: GeForce GTX 1080 x 2 cuda 8.0 cudnn 5.1
The head family is here http://pytorch.org/
Reference (rather enough here) http://kazuto1011.github.io/irvs-tutorials/mnist/pytorch/
All commands on terminal below
Build a virtual environment named pytorch2 (virtual environment name is free)
conda create -n pytorch2 python=2.7.11 -y
Enable virtual environment
source activate pytorch2
Install pytorch
conda install pytorch torchvision -c pytorch
Confirm introduction
python
import torch
Installation is complete if there is no error in import Close variously
exit()
source deactivate
Build a virtual environment named pytorch3 (virtual environment name is free)
conda create -n pytorch3 python=3.5.1 -y
Enable virtual environment
source activate pytorch3
Install pytorch
conda install pytorch torchvision -c pytorch
Confirm introduction
python
import torch
Installation is complete if there is no error in import Close variously
exit()
source deactivate
Recommended Posts