当前位置:网站首页>keras ‘InputLayer‘ object is not iterable
keras ‘InputLayer‘ object is not iterable
2022-06-30 09:36:00 【农民小飞侠】
今天在使用keras进行可视化网络结构的时候出现了下面的错误:
'InputLayer' object is not iterable
解决方法
发现自己使用的是tf keras不是keras,所以切换成tfkeras的plot_model就行了:
from tensorflow.keras.utils import plot_model
参考文献
[1].TypeError: ‘InputLayer’ object is not iterable. https://stackoverflow.com/questions/60419040/typeerror-inputlayer-object-is-not-iterable
边栏推荐
- Redis + MySQL implements the like function
- About Jul
- Practice of super integration and transformation of core production business of public funds
- Flume learning 4
- 一些国内镜像源
- Financial private cloud infrastructure scheme evaluation (Architecture and storage)
- 7. development of mobile login function
- Theme Studio(主题工作室)
- How do databases go to the enterprise cloud? Click to view the answer
- Network based dynamic routing protocol (OSPF)
猜你喜欢

9.缓存优化

How does the diode work?

Difference between bow and cbow

Shell script functions

开源了!文心大模型ERNIE-Tiny轻量化技术,又准又快,效果全开

How to build a private cloud and create a hybrid cloud ecosystem?

Differences and relationships among hyper convergence, software defined storage (SDS), distributed storage and server San

How do databases go to the enterprise cloud? Click to view the answer

MCU firmware packaging Script Software

近期学习遇到的比较问题
随机推荐
11. customize hooks
The present situation and challenge of the infrastructure of Yiwen parsing database
CRF (conditional random field) learning summary
机械臂速成小指南(四):机械臂关键部件之减速机
Rider打开Unity脚本后没有提示
C语言实现扫雷游戏,附详解及完整代码
Pytorch graduate warm LR installation
Torch learning summary
utils session&rpc
1, 基本配置
7. development of mobile login function
prometheus 监控之 ntp_exporter
Oracle cross database replication data table dblink
input限制输入
Small program development journey
Cobbler Automated Deployment
Slf4j: failed to load class "org.slf4j.impl.staticloggerbinder"
Shenhe thermomagnetic: Super fusion dual active cluster solution for MES system
【AGC】构建服务3-认证服务示例
GPT (improving language understanding generative pre training) paper notes