当前位置:网站首页>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 .

边栏推荐
- Why choose smart TV?
- 为什么选择智能电视?
- Moveit2 -- 2. Quick start of moveit in rviz
- Ask the big guys, is there transaction control for using flick sink data to MySQL? If at a checkpoint
- LeetCode 03: T58. 最后一个单词的长度(简单); 剑指 Offer 05. 替换空格(简单); 剑指 Offer 58 - II. 左旋转字符串(简单)
- Several banks adjusted the redemption rules of cash management financial products: the confirmation time limit of redemption changed from "t+0" to "t+1"
- Can you really write binary search - variant binary search
- SMA TE: Semi-Supervised Spatio-Temporal RepresentationLearning on Multivariate Time Series
- 剑指 Offer 笔记: T57 - I. 和为 s 的两个数字
- [machine learning whiteboard derivation series] learning notes - support vector machine and principal component analysis
猜你喜欢

IDEA: Can‘t use Subversion command line client:svn 解决方案

C custom set

微博评论爬虫+可视化

Vscode removes style / syntax highlighting / code highlighting / black background when copying code

The C programming language (2nd) -- Notes -- 1.6

Newton Raphson iterative method

第7章 异常处理

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

82. (cesium home) cesium points move on 3D models

源码编译安装LAMP
随机推荐
Vscode removes style / syntax highlighting / code highlighting / black background when copying code
本地虚拟机初始化脚本
一些MathType常用快捷键
[machine learning whiteboard derivation series] learning notes - support vector machine and principal component analysis
Modelarts voice detection and text classification
第10章 枚举类与注解
JUC框架 从Runnable到Callable到FutureTask 使用浅析
pytorch和tensorflow一样展示summary
Local virtual machine initialization script
MATLAB画带延时系统的伯德图
(5) Printf (instead of echo)
VSCode复制代码时去掉样式/语法高亮/代码高亮/黑色背景
【Unity入门计划】CreatorKitFPS:第一人称射击3D小游戏
开源flink有写holo的Datastream connector或者flink sql conn
LeetCode 01: T1. 两数之和 ; T1108. IP 地址无效化 ; T344. 反转字符串
剑指 Offer 笔记: T58 - II. 左旋转字符串
局域网SDN技术硬核内幕 11 云网融合CP的关键——层次化端口绑定
LNMP架构搭建(部署Discuz论坛)
WGet warning: unable to verify
Proteus8专业版破解后用数码管闪退的解决