我在win10+keras2.1.5+tenskrflow1.6.0环境下是可以跑的,但是cpu跑太慢,所以想在google colab 试一下,也安装的这个版本,虽然不知道为什么colab显示的还是2.2.5和1.15.0,但是在pip list命令下又是对的,求解答
1条回答
关注 不知道你这个问题是否已经解决, 如果还没有解决的话:- 文章:解决AttributeError: module 'keras.backend' has no attribute 'control_flow_ops' 中也许有你想要的答案,请看下吧
- 除此之外, 这篇博客: AttributeError: module 'keras.backend' has no attribute 'control_flow_ops'的解决办法中的 解决错误:AttributeError: module 'keras.backend' has no attribute 'control_flow_ops' 部分也许能够解决你的问题, 你可以仔细阅读以下内容或者直接跳转源博客中阅读:
出自Keras-YOLOv3的代码,原因在于keras版本和tensorflow不对应
如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^解决 无用评论 打赏 举报