tensorflow - tf/tflearn 不兼容,找不到“tensorflow.contrib”模块
问题描述
我用:
张量流 2.0.0-beta1
tflearn 0.3.2
我得到: ModuleNotFoundError:没有名为“tensorflow.contrib”的模块
哪个最新版本的 tf/tflearn 兼容?
解决方案
我重新安装了tensorflow,它以某种方式工作
pip install --upgrade --force-reinstall tensorflow
推荐阅读
- android - 如何按下搜索查看浓缩咖啡中的操作按钮
- java - JAX-RS Jersey:sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- python - 动态添加小部件时 BoxLayout 不调整大小
- python - Pandas hasnans 为包含 NaN 值的列返回错误值
- python - Django:从相关模型中的外键合计值的正确方法
- sql - 如何在 R 中的 sqlquery 中显示尾随零?
- xcode - 从外部硬盘写入和读取 NSData
- php - php ms sql server得到空响应
- javascript - 想用 jquery $.load 打印字符串
- c# - 脚本任务可以通过使用内部代码调用发送邮件任务向导吗?