[Keras] [multiple inputs / outpu
作者:
荷包蛋酱 | 来源:发表于
2018-11-16 15:57 被阅读0次
- The input data does not have the same dimension as was declared in the first layer
- The input data includs missing values
- The input data is not a matrix (for example, a data frame)
- 但我的问题不是这样,我的keras 使用了triplet loss,多个输入和输出,用dict描述,因此要注意,
model = Model(inputs=[xx, xxx, xxxx], outputs=[y1,y2,y3])
输入dict的key要和Input layer 的name一一对应,同理输出dict的key要和输出层的name一一对应。
本文标题:[Keras] [multiple inputs / outpu
本文链接:https://www.haomeiwen.com/subject/uapmfqtx.html
网友评论