当前位置:网站首页>Could not load dynamic library ‘libcudnn.so.8‘;
Could not load dynamic library ‘libcudnn.so.8‘;
2022-07-27 11:47:00 【Xiao Chen who wants money】
install tensorflow When , We usually meet tf.test.is_gpu_available() Back to false The problem of , By this time GPU Is not available , And will prompt lib cudnn.so.8 non-existent , This is usually due to the following :
1、 environment variable LD_LIBRARY_PATH Setting error ,
This variable should point to lib.cudnn.so.8 The parent directory of this file ;
resolvent : Modify environment variables .
vi ~/.bashrcThen modify the environment variable .

Just add the code with red box ;
2 、 No installation cudnn;
No installation cudnn Words , Want to go cuDNN Archive | NVIDIA Developer Download the corresponding version , and cuda Version match , Otherwise, the installation will make an error , If it is linux Words , Download the deb file (deb The file should match its version ) Execute with the following command :
sudo dpkg -i libcudnn8_8.1.1.33-1+cuda11.2_amd64.deb After installation, there will be libcudnn.so.8 This document , My path is /usr/lib/x86_64-linux-gnu Next , If it's not here , Can pass deb Under the document data.tar.xz Take a look below. libcudnn.so.8 Where is it installed .

边栏推荐
- origin如何作一张图中多张子图是柱状图(或其他图)
- LAN SDN technology hard core insider 12 cloud CP's daily love - hardware vxlan forwarding plane
- makefile模板
- Newton-Raphson迭代法
- Shell编程之正则表达式(Shell脚本文本三剑客之grep)
- The difference between extern and static
- Japan Fukushima waste dump safety monitoring agreement will recognize the "safety" of the sea discharge plan
- Keil MDK compilation appears..\user\stm32f10x H (428): error: # 67: expected a "}" wrong solution
- Solution of digital tube flash back after proteus8 professional version cracking
- 1.Flume 简介及基本使用
猜你喜欢

Vscode removes style / syntax highlighting / code highlighting / black background when copying code
新版数据仓库的同步使用参考(新手向)

源码编译安装LAMP

Analysis of the use of JUC framework from runnable to callable to futuretask

Matlab draws Bode diagram with time delay system

EfficientNet

Why is ack=seq+1 when TCP shakes hands three times

Everything cannot be searched for startup_ Lpc11x.s file

LNMP架构搭建(部署Discuz论坛)

你真的会写二分查找吗——变种二分查找
随机推荐
Firewalld防火墙
EfficientNet
局域网SDN技术硬核内幕 11 云网融合CP的关键——层次化端口绑定
Vscode removes style / syntax highlighting / code highlighting / black background when copying code
你真的会写二分查找吗——变种二分查找
Analysis of the use of JUC framework from runnable to callable to futuretask
PWM的原理和PWM波的产生
LeetCode 02: 剑指 Offer 58 - I. 翻转单词顺序(简单); T123. 验证回文串 ; T9. 回文数
The C programming language (2nd) -- Notes -- 1.8
Proteus8专业版破解后用数码管闪退的解决
Principle of control system based on feedback rate
多家银行调整现金管理类理财产品申赎规则:申赎确认时效“T+0”变“T+1”
(8) Shell function
MATLAB画带延时系统的伯德图
82.(cesium之家)cesium点在3d模型上运动
Modelarts image classification and object detection
箱型图介绍
[machine learning whiteboard derivation series] learning notes --- conditional random fields
82. (cesium home) cesium points move on 3D models
LeetCode 01: T1. 两数之和 ; T1108. IP 地址无效化 ; T344. 反转字符串