Check the version of cudnn&cuda and the corresponding tensorflow version

When installing tensorflow-GPU, you can't determine which version you need to install on your computer. You can check the corresponding version on the official website.

1. Check the cuda version:

Win+R input cmd——nvcc -V

insert image description here

Enter " nvcc -V"

insert image description here
You can see that the version of cuda is10.2

2. Check the version of cudnn:

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include

cudnn.hRight click on the " " file in this path
insert image description here
, select to 记事本open ,
insert image description here
and you can see that the version of cudnn is7.6.5

3. Enter tensorflow official website to check the corresponding version:

https://tensorflow.google.cn/install/source_windows?hl=zh-cn#cpu

add link description
insert image description here

Guess you like

Origin blog.csdn.net/qq_44961737/article/details/129516903