我正在进行深度学习,为此,我正在使用一种算法来训练我的数据集。因此,这就是我在运行代码期间获得的全部内容。您能帮我找出我缺少的地方吗?
TypeError Traceback (most recent call last)
<ipython-input-20-70463f35b888> in <module>
45 #merge two encoded inputs with the l1 distance between them
46 L1_distance = lambda x: K.abs(x[0]-x[1])
---> 47 both = merge([encoded_l,encoded_r], mode = L1_distance, output_shape=lambda x: x[0])
48 prediction = Dense(1,activation='sigmoid',bias_initializer=b_init)(both)
49 siamese_net = Model(input=[left_input,right_input],output=prediction)
TypeError: 'module' object is not callable