Reference article: https://zhuanlan.zhihu.com/p/59031211
An Introduction
Operating System: Win10
Anaconda: The new
CUDA: The new
cudnn: The new
deep learning framework: pytorch
The first step: Anaconda installation
Reference article:
https://www.docin.com/p-2211294227.html
Download Anaconda
The latest: Anaconda3-2019.10-Windows-x86_64
original address: https://repo.continuum.io/archive/
Tsinghua Mirror: https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/
Baidu cloud link: https://pan.baidu.com/s/1SDBFoKxujlGX9IH7p0JUhA
extraction code: earb
Precautions
- Do not install windows in other python
- The default path can
- In the process of checking the installation PATH
an examination
- Open command (operation; input 'cmd'; carriage return)
- Input terminal 'python', appeared successful installation represented python and anaconda
Step 2: Create a virtual environment pytorch
- Enter anaconda navigator, create a virtual environment called the pytorch. Login pytorch official website: https://pytorch.org/get-started/locally/
- Selecting a corresponding packet according to their environment pytorch
- Select mounting manner pip
- Copy the appropriate command, open the Anaconda Prompt, activate the corresponding virtual environment activate mypytorch.
- In a terminal :( first sentence is copied to the command)
pip install https://download.pytorch.org/whl/cpu/torch-1.0.0-cp36-cp36m-win_amd64.whl
pip install torchvision
- Because it is in a virtual environment of anaconda are installed, it is ready to be discarded.
Step 3: Install cuda
Log in to view the official website for their own version of the graphics card https://developer.nvidia.com/cuda-gpus
cuda_10.1.105_418.96_win10 (rtx1060): I downloaded version of the
Baidu cloud link: https://pan.baidu.com/s/ 1xqGB5x8Bpz1vhXJDeV4ADQ
extraction code: yk68
Step four: Install cudnn
Visit the official website https://developer.nvidia.com/cudnn
register to download directly copying cuda path corresponding folder below the line
, I downloaded version: cudnn-10.1-windows10-x64 -v7.6.5.32
Baidu cloud link: HTTPS: //pan.baidu.com/s/1iuWb2VSJ2I4EDCS0rDaEpQ
extraction code: 6yw6