在jupyter notebook上利用plt.subplot()画图时出现此错误,由于已经把数据转换到cpu的numpy格式,因此此错误不是GPU或者cuda的问题。

起初我以为是内存不够的问题,在网上查了下没有好的解决方法,最后在stackoverflow上找到了一些解决方法,尝试了下。解决了我的问题。

非常简单:升级下numpy版本,或者重装下,效果一样。
pip3 install -U numpy更新numpy版本,然后重启下kernel。

The kernel appears to have died. It will restart automatically相关推荐

  1. 成功解决错误The kernel appears to have died. It will restart automatically

    关于内核死亡的错误 mac系统在运行jupter 出现了 The kernel appears to have died. It will restart automatically cpu无占用 解 ...

  2. 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 ...

  3. The kernel appears to have died. It will restart automatically问题

    用jupyter notebook 运行教程中下面这个cell时,总会报"The kernel appears to have died. It will restart automatic ...

  4. jupyter notebook中,对tensorflow运行时经常出现“The kernel appears to have died. It will restart automatically”

    在jupyter notebook 或者spyder上运行tensorflow的代码时(主要是代码 包含CNN),如果软件安装有问题,会出现"The kernel appears to ha ...

  5. 对jupyter notebook运行时出现“The kernel appears to have died. It will restart automatically”的解决方案

    1.前天在jupyter notebook 上运行tensorflow的代码时(主要是卷积神经网络,用小笔记本上的GPU),运行没多久,出现"The kernel appears to ha ...

  6. 【已解决】导入tensorflow报错/python已停止工作/The kernel appears to have died

    目录 背景 问题1:in future version of numpy, it will be understaood as(type,(1,)) 原因 解决 问题2:python已停止工作/The ...

  7. Kernel Restarting

    Jupyter Notebook运行过程中, kernel died. 报错信息: The kernel appears to have died. It will restart automatic ...

  8. python怎么重启内核_解决jupyter运行pyqt代码内核重启的问题

    在jupyter notebook或者是 Qtconsole下编译运行一个简单的pyqt程序,总是报错: The kernel appears to have died. It will restar ...

  9. python内核死亡的原因_Python的内核由于DLL而死亡

    对于机器学习课程,我正在用python做练习.我们的作业必须使用Jupyter笔记本.虽然这在我的笔记本电脑和我的办公桌上运行得很好,但我不能在家里的桌面上运行任何东西.在 因为我不确定是否允许我发布 ...

  10. AttributeError: 'module' object has no attribute 'get_frontal_face_detector'

    AttributeError: 'module' object has no attribute 'get_frontal_face_detector' 报错原因: 命名为的文件将遮盖dlib具有所需 ...

最新文章

  1. QQ相册后台存储架构重构与跨IDC容灾实践
  2. 来了!索尼官宣PS5游戏主机:比预计的时间稍晚一些
  3. Python使用for循环打印九九乘法表
  4. 单向链表反转-JS实现
  5. 大数据分析平台搭建方式有哪些
  6. 系统调用之Write
  7. 2021-09-06
  8. everest任务栏设置
  9. win10 教育版 激活方法
  10. java excel 复杂表头_【分享】使用一个Excel模板就能搞定Excel复杂表头样式
  11. b250支持服务器cpu,b250m主板应该上什么cpu
  12. ArcGIS 发布自定义打印模板
  13. 金山毒霸把我的oracle监听服务,金山毒霸误杀我的i_eyes.exe
  14. 苹果x与苹果xs的区别_苹果Xs相比苹果X,两者谁更值得入手?用户:苹果X宝刀未老!...
  15. 如何查看TR069 协议设备的在线状态
  16. Hackthebox:Granny Walkthrough(not use metasploit)
  17. 【NATAPP】natapp内网穿透_麻瓜教程~~~下载——使用——快捷方式
  18. 想要专升本你不得不看的全干货_吐血整理_专升本_计算机文化基础(五)
  19. 阿里云开发——Node JS模拟钢琴的开发与部署
  20. 模拟量输入模块的2、3、4线制的接法图解

热门文章

  1. 全球最最可爱的的10种著名小型犬
  2. 系统的延时任务和定时任务
  3. 什么是 MAC 地址,什么时候应该隐藏它?
  4. matlab和robotstudio,一种从Robotstudio环境中导出机器人模型并在MATLAB下使其可视化的研究记录...
  5. Error opening zip file or JAR manifest missing
  6. linux调整刷新率,在Linux操作系统下调整屏幕刷新率的方法
  7. Apache FOP2.6 SVG导出PDF配置,解决中文字体变成####
  8. 个人搭建ASP网站,从头开始完全教程(一)
  9. react插件,树状图(可自由定义子节点结构,大小,样式)
  10. signature=c7580760a679f082e2d4960e4c2c7772,Signatures of moiré-trapped valley excitons in MoSe