tensorflow2.0 - 模块“tensorflow”没有属性“GraphKeys”
问题描述
enter code here
在此处输入图像描述我有 tensorflow-gpu 2.0.0,问题是 AttributeError: module 'tensorflow' has no attribute 'GraphKeys'。这个项目在 tensorflow==1.15rc2 运行。我该怎么办?
解决方案
推荐阅读
- javascript - 使用 Node JS 在 firebse 托管中分离路由
- python - NameError:未定义名称“LoginView”
- python - 根据条件创建具有新列名的熊猫数据透视表
- sql-server - 从 0001 开始在现有表中添加新列
- java - 如何在 Java 中使用多行 lambda 表达式对 int[] 进行排序
- c# - 控制台窗口切换开关
- c++ - 如何配置 Codeblocks 在程序完成后不关闭控制台?
- c# - 即使从 NUGet 包管理器安装了最新版本,system.runtime DLL 仍指向旧版本的问题
- html - enctype="multipart/form-data" 编码错误
- php - 使用自定义价格 woocommerce 添加到购物车