Face-identification-with-cnn-triplet-loss
Face-identification-with-cnn-triplet-loss copied to clipboard
tpe, tpe_pred = build_tpe(n_in, n_out, W_pca.T)
HI I'm stuck here. keras merge keep error me out.
In [13]: tpe, tpe_pred = build_tpe(n_in, n_out, W_pca.T)
D:\xrvision\XRV_projects\Face-identification-with-cnn-triplet-loss\model.py:67: UserWarning: Update your Dense
call to the Keras 2 API: Dense(18, input_dim=18, weights=[array([[-..., activation="linear", use_bias=False)
base_model.add(Dense(n_out, input_dim=n_in, bias=False, weights=[W_pca], activation='linear'))
Traceback (most recent call last):
File "
File "D:\xrvision\XRV_projects\Face-identification-with-cnn-triplet-loss\model.py", line 75, in build_tpe e = merge([a_emb, p_emb, n_emb], mode=triplet_merge, output_shape=triplet_merge_shape)
TypeError: 'module' object is not callable