【发布时间】:2020-08-21 15:33:32
【问题描述】:
图片中提到了错误。
TypeError Traceback (most recent call last)
<ipython-input-200-8ea67f851d87> in <module>()
1 final_model = Sequential([
----> 2 Concatenate([image_model, caption_model], mode='concat', concat_axis=1),
3 Bidirectional(LSTM(256, return_sequences=False)),
4 Dense(vocab_size),
5 Activation('softmax')
【问题讨论】:
-
错误提示 - 模式不是
Concatenate中的参数... -
您好 ComputerVisionEnthusiast,我们可以在代码前介绍问题时更好地帮助您,并将错误作为文本而不是屏幕截图分享,please see the guide on how to ask questions。
标签: keras concatenation google-colaboratory keras-layer