博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
`Model.XXX` is not supported when the `Model` instance was constructed with eager mode enabled
阅读量:2089 次
发布时间:2019-04-29

本文共 181 字,大约阅读时间需要 1 分钟。

问题: Calling Model.predict in graph mode is not supported when the Model instance was constructed with eager mode enabled

解决:

model = Sequential()model.call = tf.function(model.call)

转载地址:http://ytlqf.baihongyu.com/

你可能感兴趣的文章
面试题 —— 关于main方法的十个面试题
查看>>
集成测试(一)—— 使用PHP页面请求Spring项目的Java接口数据
查看>>
FastDFS集群架构配置搭建(转载)
查看>>
目的:使用CUDA环境变量CUDA_VISIBLE_DEVICES来限定CUDA程序所能使用的GPU设备
查看>>
TP5.1模板布局中遇到的坑,配置完不生效解决办法
查看>>
TP5.1事务操作和TP5事务回滚操作多表
查看>>
TP5.1项目从windows的Apache服务迁移到linux的Nginx服务需要注意几点。
查看>>
win10安装软件 打开时报错 找不到 msvcp120.dll
查看>>
PHPunit+Xdebug代码覆盖率以及遇到的问题汇总
查看>>
PHPUnit安装及使用
查看>>
PHP项目用xhprof性能分析(安装及应用实例)
查看>>
composer安装YII
查看>>
Sublime text3快捷键演示
查看>>
sublime text3 快捷键修改
查看>>
硬盘的接口、协议
查看>>
VLAN与子网划分区别
查看>>
Cisco Packet Tracer教程
查看>>
02. 交换机的基本配置和管理
查看>>
03. 交换机的Telnet远程登陆配置
查看>>
微信小程序-调用-腾讯视频-解决方案
查看>>