Deep learning environment to build under Windows

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

  1. Do not install windows in other python
  2. The default path can
  3. In the process of checking the installation PATH

an examination

  1. Open command (operation; input 'cmd'; carriage return)
  2. Input terminal 'python', appeared successful installation represented python and anaconda

Step 2: Create a virtual environment pytorch

  1. Enter anaconda navigator, create a virtual environment called the pytorch. Login pytorch official website: https://pytorch.org/get-started/locally/
  2. Selecting a corresponding packet according to their environment pytorch
  3. Select mounting manner pip
  4. Copy the appropriate command, open the Anaconda Prompt, activate the corresponding virtual environment activate mypytorch.
  5. 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
  1. 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
Here Insert Picture Description

Released four original articles · won praise 4 · Views 1018

Guess you like

Origin blog.csdn.net/qq_41973664/article/details/104364045
Recommended