Detailed tutorial on installing graphics card driver software and CUDA11.1 in windows system

The deep learning target detection framework requires GPU acceleration when performing image calculations, and requires the use of a hardware GPU graphics card. The connection between the target detection framework and the hardware GPU requires ① graphics card driver software; ② CUDA software to establish contact in turn. These two software can be downloaded directly from the NVIDIA official website. There are no very strict version requirements. According to our framework requirements, the CUDA version that can be installed by the graphics card driver software is greater than 11.1, and the CUDA version is 11.1.

1. Query the computer hardware GPU configuration (for querying the appropriate graphics card driver software)

① Find "This PC" on the desktop, or enter "This PC" in the folder interface, right-click and select "Manage" to enter the new interface

Insert image description here

② Find "Device Manager" in the opening interface, follow the steps below, find the NVIDIA GPU graphics card, and get the graphics card version number. The following is NVIDIA GeForce GTX 1650
Insert image description here

③Query the driver software according to the graphics card model, check the website:
https://www.nvidia.cn/Download/Find.aspx?lang=cn

Insert image description here
④Correspondence between driver version and CUDA version:
Insert image description here

⑤ According to the query configuration, the query results are as follows. It is recommended to download the driver version 470 and above.
Insert image description here

Insert image description here

This completes the installation of the driver software.

2. Install CUDA

① We clearly want CUDA11.1, so just find the corresponding version and install it.
Download address: https://developer.nvidia.com/cuda-downloads Open and enter the following interface
Insert image description here

②Click to enter the following interface:
<1>2-Interface One:
Insert image description here
<2>2-Interface Two
Insert image description here
<3>2-Interface Three
Insert image description here
<4>2-Interface Four
Insert image description here
<5>2-Interface Five
Insert image description here

③ Follow these steps to complete the download of CUDAToolKit. Click the exe during installation and it will be installed by default.

3. CuDNN download

In addition, there is CuDNN that needs to be downloaded and installed because it requires the deep learning library.
Download URL: https://developer.nvidia.com/rdp/cudnn-download
<1>3-Interface One
Insert image description here
<2>3-Interface Two
Insert image description here
<3 >3-Interface Three
Insert image description here
<4>3-Interface Four
Insert image description here

After downloading and decompressing, copy the three folders to the following installation directory of CUDA and overwrite them to complete the installation.
Insert image description here

This completes the installation of all underlying software.

Guess you like

Origin blog.csdn.net/qq_44442727/article/details/129847904