Pytorch installation
1. Introduction to Pytorch
Pytorch is a deep learning framework released by Facebook. It is very popular among users because of its ease of use and friendliness.
2. Pytorch version
3. Pytorch installation
Installation address introduction: https://pytorch.org/get-started/locally/
Steps to install with GPU:
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
Installation steps without GPU
conda install pytorch-cpu torchvision-cpu -c pytorch
Open ipython after installation
enter:
In [1]:import torch
In [2]: torch.__version__
Out[2]: '1.0.1'
Note: When installing the module, it is installed pytorch
, but it is used in the codetorch
It is installed when the module is installed pytorch
, but it is used in the codetorch