解决The kernel appears to have died. It will restart automatically问题
在用jupyter lab跑CNN时,给我报了这个错误
在网上查了很多原因,都没法解决,又问了老师,老师说很多情况都有可能导致kernel崩溃,让我用pycharm来跑一下
用pycharm跑,就看出了问题:
2022-07-12 10:33:02.993081: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX AVX2
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-07-12 10:33:03.650384: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 3962 MB memory: -> device: 0, name: NVIDIA GeForce RTX 2060, pci bus id: 0000:01:00.0, compute capability: 7.5
Epoch 1/50
2022-07-12 10:33:05.914469: I tensorflow/stream_executor/cuda/cuda_dnn.cc:384] Loaded cuDNN version 8401Process finished with exit code -1073740791 (0xC0000409)
这里可以看到使用的是GPU来做运算,程序退出了一个负数,但是不知道具体是什么错。
我们把这个Emulate terminal in output console打开
就可以看到详细的报错信息
Could not locate zlibwapi.dll. Please make sure it is in your library path!
所以就按照他说的做
下载链接
之后,将zlibwapi.dll 放到 环境变量 path 中(具体:…cuda…\bin)将zlibwapi.lib 放到 环境变量 path 中(具体:…cuda…\lib | lib64)
把这两个文件放到对应的cuda文件夹下之后,就可以跑起来了
解决The kernel appears to have died. It will restart automatically问题相关推荐
- 成功解决错误The kernel appears to have died. It will restart automatically
关于内核死亡的错误 mac系统在运行jupter 出现了 The kernel appears to have died. It will restart automatically cpu无占用 解 ...
- The kernel appears to have died. It will restart automatically问题
用jupyter notebook 运行教程中下面这个cell时,总会报"The kernel appears to have died. It will restart automatic ...
- jupyter notebook 上用matplotlib绘图,出现The kernel appears to have died.It will restart automatically
环境 anaconda3+自定义python环境+jupyter notebook jupyter notebook 上用matplotlib绘图,出现The kernel appears to ha ...
- jupyter notebook中,对tensorflow运行时经常出现“The kernel appears to have died. It will restart automatically”
在jupyter notebook 或者spyder上运行tensorflow的代码时(主要是代码 包含CNN),如果软件安装有问题,会出现"The kernel appears to ha ...
- 对jupyter notebook运行时出现“The kernel appears to have died. It will restart automatically”的解决方案
1.前天在jupyter notebook 上运行tensorflow的代码时(主要是卷积神经网络,用小笔记本上的GPU),运行没多久,出现"The kernel appears to ha ...
- 【已解决】导入tensorflow报错/python已停止工作/The kernel appears to have died
目录 背景 问题1:in future version of numpy, it will be understaood as(type,(1,)) 原因 解决 问题2:python已停止工作/The ...
- mysql killed 不掉,解决:kernel: Out of memory: Killed process 15967, UID 27, (mysqld).
最近服务器突然有一段时间:ssh连不上,查看日志发现有大有问题,去网上查了,发现是内存不够了,可以使用以为网友提供的添加一个1Gswap分区,原服务器确实已经删除了swap分区. Mar 20 16: ...
- 报错及解决:Kernel does not exist: 96b59d42-d81e-471c-8ef9-63a61a963a16
在pycharm的terminal终端中,首次启动jupyter notebook,成功.中断之后重启,运行cell的时候找不到kernels,系统报错如下 (topvenv)..../feature ...
- 【Error解决实录】报错及解决:KERNEL DOES NOT EXIST: xxxxxxxxx
报错 (topvenv)..../feature190919>jupyter notebook [I 11:11:59.261 NotebookApp] Serving notebooks fr ...
- c++堆栈溢出怎么解决_Windows Kernel Exploit 内核漏洞学习(2)-内核栈溢出
这是 Windows kernel exploit 系列的第二部分,这一篇我们通过内核空间的栈溢出来继续深入学习 Windows Kernel exploit ,看此文章之前你需要有以下准备: Win ...
最新文章
- 将pcd格式的点云数据去掉第四维度Itensity信息仍保存为pcd格式
- 用freeze.py打包python程序成可执行程序(linux)
- Bash Shell学习笔记三
- Spring环境的搭建与测试 (spring2.5.6)
- Apache的流处理技术概述
- 数学建模 时间序列分析
- IDEA - Live Template
- LeetCode 107. Binary Tree Level Order Traversal II
- 开源中国 OsChina Android 客户端源码分析(12)清理缓存
- Python - PyCharm部分快捷键
- 标签系统 -- 用户画像
- Java Foundation serial ( 一 )
- 华为将发布定制款“鸿蒙字体”,可以免费商用
- 云购PHP,高仿一元云购CMS-PHP源码
- 计算机黑屏风扇异响,电脑开机黑屏主机风扇一直响
- 我猜这将是程序员副业接单赚外快的最好的平台!
- 微信网页端软键盘收起点击事件失效
- Linux设备模型(2)——Kobject
- 2007世界大学学术排名(上海交大)
- 什么是 Workflow?