jupyter notebook:The kernel appears to have died. It will restart automatically 出错解决

因安装niftynet(一个医学影像深度学习库)的需要,将包tensorflow-gpu1.10.0 回退为1.6
后来运行mnist程序时,出现

The kernel appears to have died. It will restart automatically.

利用

pip install –upgrade tensorflow-gpu

命令重新升级 tensorflow库至1.10.1后程序运行正常

注:有时候一直出现这个错误可能是tensorflow(-gpu)版本过低的原因
解决办法 在终端(terminal)中利用pip install –upgrade命令升级一下版本

猜你喜欢

转载自blog.csdn.net/DoReAGON/article/details/82390206