我们是数据科学的新手,我们正在尝试合并两个不同的CNN模型(一个有2个班级,另一个有3个班级)。模型的代码为: 性别模型 #initialize the model along with the input shape inputShape, 3, 3)
model.compile(loss= 'categorical_crossentropy', optimizer='ad
我有一个模型,看起来像这样:________________________________________________________________expected axis -1 of input shape to have value 1 but received input with shape [None, 256, 256, 3]
我的图片的属性
我有2个模型被合并成一个单一的模型。(inputs=[ m1.input, m2.input], outputs=output) 这个单一模型接受来自两个模型的输入: 第一个模型输入参数tx[0] and tx[1]第二个模型输入参数-1\f25 vx 和一个常见的Y vy 下面是我尝试使用它们的方法: history = mo