The kernel appears to have died. It will restart automatically问题
用jupyter notebook 运行教程中下面这个cell时,总会报"The kernel appears to have died. It will restart automatically"错误。
params = {'n_trees': 50,'max_depth': 3,'n_batches_per_layer': 1,# You must enable center_bias = True to get DFCs. This will force the model to # make an initial prediction before using any features (e.g. use the mean of # the training labels for regression or log odds for classification when# using cross entropy loss).'center_bias': True
}est = tf.estimator.BoostedTreesClassifier(feature_columns, **params)
est.train(train_input_fn, max_steps=100)
results = est.evaluate(eval_input_fn)
pd.Series(results).to_frame()
在网上搜了一圈后,大致有两种原因:
- OOM:OUT OF MEMORY
- 软件版本不一致
但是基于训练数据只有30k, 627条,我首先排除了OOM的可能行,把可能相关的包更新了一遍,然而这个错还在。
最终在fast.ai论坛上找到了解决方法:
Alex.Nikitin Alexander
Hi! Had the same issue on AWS P2.xlarge. Choosing lower batch size from the beginning should help.
因为数据量小,源代码将所有数据直接作为一个batch,将batch_size改小后,it works for me too!
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无占用 解 ...
- 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 ...
- Kernel Restarting
Jupyter Notebook运行过程中, kernel died. 报错信息: The kernel appears to have died. It will restart automatic ...
- python怎么重启内核_解决jupyter运行pyqt代码内核重启的问题
在jupyter notebook或者是 Qtconsole下编译运行一个简单的pyqt程序,总是报错: The kernel appears to have died. It will restar ...
- python内核死亡的原因_Python的内核由于DLL而死亡
对于机器学习课程,我正在用python做练习.我们的作业必须使用Jupyter笔记本.虽然这在我的笔记本电脑和我的办公桌上运行得很好,但我不能在家里的桌面上运行任何东西.在 因为我不确定是否允许我发布 ...
- AttributeError: 'module' object has no attribute 'get_frontal_face_detector'
AttributeError: 'module' object has no attribute 'get_frontal_face_detector' 报错原因: 命名为的文件将遮盖dlib具有所需 ...
最新文章
- SharePoint 检测页面编辑模式
- PHP 安全问题入门:10 个常见安全问题 + 实例讲解
- 10月网民上网高峰时段为晚上8点 比例升至6.64%
- html新年倒计时代码_js实现倒计时
- Object与RTTI
- 处理gateway service使用过程中遇到的400 error - Malformed URI literal syntax
- vant toast 指定挂载到指定位置_docker卷挂载技术
- 2019年第十届C/C++ B组蓝桥杯省赛真题
- 使用Foxmail登录阿里企业邮箱(钉钉邮箱)
- 计算机三级考点2:管理和运营宽带城域网的关键技术
- Android studio 教程入门
- c++实现植物大战僵尸修改器
- 【模拟试题】czy的后宫3 莫队
- whistle抓包工具
- Apache网页优化
- flash player 9 安装错误:您尝试安装的adobeflashplayer版本不是最新版本
- Linux man中文手册的安装与使用
- java获取键盘整数_Java中从键盘输入多个整数的方法
- Github:Semantic-Segmentation-Suite分割网络集锦--使用小结
- Doxygen 使用说明