input_feats = Input(shape=([fc_feats.shape[0]]))
def lam_reshape(inputs):
return inputs
fc_feats_new = Lambda(lam_reshape)(input_feats)
fc_feats_new = K.reshape(fc_feats_new, [10, int(fc_feats_new.shape[1])])
fc_feats_new = sess.run(fc_feats_new)
got error: InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'input_54' with dtype float and shape [?,2048]