当前位置:网站首页>[tensorflow GPU] building of deep learning environment under windows11
[tensorflow GPU] building of deep learning environment under windows11
2022-06-30 07:53:00 【Snow fish】
I am a Snow fish , a FPGA lovers , The research direction is FPGA Architecture exploration and digital IC Design .
Will be in B Station share IC Relevant teaching courses ,B Stand on your home page :https://space.bilibili.com/397002941?spm_id_from=333.1007.0.0
QQIC Design &FPGA&DL Communication group Group number :866169462.
operating system : Window11 pro
The graphics card : NVIDIA RTX 3060 Laptop GPU
One 、Anaconda install
I have written the corresponding installation tutorial before :PyTorch In depth learning notes ( One )PyTorch Environment configuration and installation https://blog.csdn.net/qq_44447544/article/details/122425322
Two 、CUDA install
NVIDIA Control panel -> System information in the lower left corner -> Components View the supported by the driver CUDA edition :

Namely support CUDA The maximum version of is 11.6, However, the highest computing platform supported by the flying plasma is CUDA11.2, So I installed 11.2.2 Version of .
CUDA Official download link :https://developer.nvidia.com/cuda-toolkit-archive


Select operating system related information , Click on 【Download】 Start the download , After downloading, double-click install .

Choose Custom installation , You can choose your own components , If it has been installed VS, The installation of the component can be cancelled , I didn't install it here , So go straight to the next step .


Then select the installation location , Here I am C Plate is 1TB solid state , So I installed it directly according to the default location .

Then you will be prompted to install Visual Studio, Otherwise, some functions cannot be used normally .
3、 ... and 、cudnn install
cuda It can be seen as a workbench , and cudnn Is based on cuda Deep learning acceleration Library , Want to be in cuda For in-depth learning acceleration, you must install cudnn.
Download link on official website : https://developer.nvidia.com/zh-cn/cudnn

Sign up to log in .

Find a support CUDA11.2.2 Of cuDNN, I'll download it here cuDNN v8.1.1 edition

661MB, Just wait patiently .
After downloading, unzip it , Folder has 3 A folder and a file :

Copy and paste into the installed CUDA Folder , The default location is C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.2, Encounter tips , Select overwrite and replace for all .
Input nvcc -V, Verify that the installation was successful , The information shown in the figure below shows that the installation is successful .
Four 、tensoflow-gpu install
First, select the version to install , open https://tensorflow.google.cn/install/source_windows
Pull to the bottom , You can see gpu Version compatibility information :
You can see ,CUDA Version is 11.2,cuDNN Version is 8.1 when , Supported by tensorflow_gpu Version is 2.6.0 and 2.5.0, Here we download v2.6.0, then python Version with 3.8.
The specific operation of installation is , open CMD terminal , Enter the following command :
(1) Creating a virtual environment
conda create -n tf2.6 python=3.8
here tf2.6 For the specified environment name , python=3.8 Specifies the python Version is 3.8.
Input y, then enter ,conda Start downloading the necessary packages automatically . After the download is complete, as shown in the figure below :
(2) Activate tf2.6 A virtual environment
activate tf2.6

(3) download tensorflow-gpu package
pip install tensorflow-gpu==2.6.0
altogether 423.3MB, Not very much 
(4) Verify that the installation was successful .
python
import tensorflow as tf
tf.config.list_physical_devices('GPU')
Here I report an error after running , As shown below :
Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found, The lack of cudart64_110.dll file , Go to download . Official download link :https://www.dll-files.com/cudart64_110.dll.html
Select first Download that will do , Decompress the downloaded compressed package to get cudart64_110.dll , hold cudart64_110.dll Copy and paste to C:/Windows/System32 Li will do :

Re input the output as shown in the following figure , Indicates that... Was successfully installed TensorFlow GPU edition .
Start to be happy and start to learn deeply !!!
边栏推荐
- Why don't you know what to do after graduation from university?
- Xiashuo think tank: 28 updates of the planet reported today (including the information of flirting with girls and Han Tuo on Valentine's day)
- 期末复习-PHP学习笔记1
- 25岁,从天坑行业提桶跑路,在经历千辛万苦转行程序员,属于我的春天终于来了
- Global digital industry strategy and policy observation in 2021 (China Academy of ICT)
- Wangbohua: development situation and challenges of photovoltaic industry
- Program acceleration
- December 4, 2021 - Introduction to macro genome analysis process tools
- Examen final - notes d'apprentissage PHP 3 - Déclaration de contrôle du processus PHP
- The counting tool of combinatorial mathematics -- generating function
猜你喜欢

2021 private equity fund market report (62 pages)

Multi whale capital: report on China's education intelligent hardware industry in 2022

期末复习-PHP学习笔记1

期末复习-PHP学习笔记4-PHP自定义函数

CRM能为企业带来哪些管理提升

多快好省,低门槛AI部署工具FastDeploy测试版来了!
![2021-10-27 [WGS] pacbio third generation methylation modification process](/img/a3/39d05e0daf4ea7eba95337b7a936b1.jpg)
2021-10-27 [WGS] pacbio third generation methylation modification process

Final review -php learning notes 2-php language foundation

Cross compile opencv3.4 download cross compile tool chain and compile (3)

深度学习——Bounding Box预测
随机推荐
At the age of 25, I started to work in the Tiankeng industry with buckets. After going through a lot of hardships to become a programmer, my spring finally came
Final review -php learning notes 1
Final review -php learning notes 5-php array
Cross compile opencv3.4 download cross compile tool chain and compile (3)
Solve the linear equation of a specified point and a specified direction
Final review -php learning notes 4-php custom functions
Why don't you know what to do after graduation from university?
深度学习——序列模型and数学符号
November 22, 2021 [reading notes] - bioinformatics and functional genomics (Section 5 of Chapter 5 uses a comparison tool similar to blast to quickly search genomic DNA)
Tue Jun 28 2022 15:30:29 GMT+0800 (中国标准时间) 日期格式化
Bingbing learning notes: quick sorting
Efga design open source framework fabulous series (I) establishment of development environment
25岁,从天坑行业提桶跑路,在经历千辛万苦转行程序员,属于我的春天终于来了
Armv8 (coretex-a53) debugging based on openocd and ft2232h
Introduction notes to pytorch deep learning (11) neural network pooling layer
1163 Dijkstra Sequence
Investment and financing analysis report of Supply Chain & logistics industry in 2021
Deep learning - goal orientation
24C02
Deep learning -- language model and sequence generation