会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
威侠空间
愿得一人心,白首不分离
博客园
首页
新随笔
联系
订阅
管理
2019年3月8日
AttributeError: module 'tensorflow' has no attribute 'enable_eager_execution'
摘要: 在tensorflow模型训练的遇到这个报错 原因:tensorflow版本太老了,没有'enable_eager_execution'这个属性方法解决:pip install --upgrade tensorflow更新tensorflow
阅读全文
posted @ 2019-03-08 16:00 努力耕地的小码农
阅读(10533)
评论(1)
推荐(0)
2019年3月6日
elasticsearch 请求体查询方式整理
摘要: 空查询(empty search) —{}— 在功能上等价于使用 match_all 查询, 正如其名字一样,匹配所有文档: match_all 查询 match_all 查询简单的匹配所有文档。在没有指定查询方式时,它是默认的查询: 它经常与 filter 结合使用--例如,检索收件箱里的所有邮件
阅读全文
posted @ 2019-03-06 17:03 努力耕地的小码农
阅读(389)
评论(0)
推荐(0)
2019年2月28日
Python请求短链url无法获取最终长链url问题解决
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2019-02-28 17:28 努力耕地的小码农
阅读(7)
评论(0)
推荐(0)
2019年2月27日
运行TensorFlow报错,“This program requires version 3.6.1 of the Protocol Buffer runtime library, but the installed version is 3.0.0.”
摘要: 报错信息: 问题原因: TensorFlow和protobuf版本不匹配 解决一:版本降级 先卸载 再安装 如果版本降级后报"TypeError: __init__() got an unexpected keyword argument 'syntax' "的错误,错误详情如下: 还有一个办法,就
阅读全文
posted @ 2019-02-27 15:08 努力耕地的小码农
阅读(3280)
评论(0)
推荐(0)
2018年3月15日
Python2.6与Python2.7的format用法区别
摘要: Python2.6不支持format(123456L, ",")或format(123, ",")的format用法,会报下面的错误 ValueError: Unknown format code ',' for object of type 'long' ValueError: Unknown f
阅读全文
posted @ 2018-03-15 21:16 努力耕地的小码农
阅读(566)
评论(0)
推荐(0)
RuntimeError: Cannot run in multiple processes: IOLoop instance has already been initialized. You cannot call IOLoop.instance() before calling start_processes()
摘要: 解决方法: settings中的debug改为false,或者注释掉 参照: https://stackoverflow.com/questions/32521122/cannot-run-in-multiple-processes-ioloop-instance-has-already-been-
阅读全文
posted @ 2018-03-15 17:04 努力耕地的小码农
阅读(774)
评论(1)
推荐(0)
2018年1月8日
商业智能(BI)选型手册(转载)
摘要: 摘自http://articles.e-works.net.cn/bi/Article126429.htm 1、前言 互联网时代企业数据呈现爆发式增长,全面考验着企业的数据处理和分析能力。面对大容量、多样性、高增长的数据很多企业往往无所适从,除了耗费大量管理和存储成本外并没有给企业带来真正的价值,大
阅读全文
posted @ 2018-01-08 11:29 努力耕地的小码农
阅读(1135)
评论(0)
推荐(1)
2016年12月13日
Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run.
摘要: Android Studio
阅读全文
posted @ 2016-12-13 23:47 努力耕地的小码农
阅读(4418)
评论(0)
推荐(0)
关于TextView的setText()与Integer之间一个易犯的小错误
摘要: 【转载】原文:https://my.oschina.net/xybob/blog/59524 先上图: TextView的setText()函数的两个重载函数 因为TextView有两个不同的重载函数,而且其中一个重载函数参数为int型的,但这个参数是Resource id,所以如果你想往setTe
阅读全文
posted @ 2016-12-13 15:43 努力耕地的小码农
阅读(150)
评论(0)
推荐(0)
公告