Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- siamese_net = Model(inputs=[anchor, positive, negative],outputs=L1_distance)
- model = get_siamese_model(input_shape)
- X = {
- 'anchor' : anchor,
- 'positive' : positive,
- 'negative' : negative
- }
- model.fit(np.asarray(X), Y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement