How to fit input and output data into Siamese Network using Keras?
问题 I am trying to implement a face recognition Siamese Network using the Labelled Faces in the Wild (LFW Dataset in Kaggle). The training data image pairs is stored in the format of : ndarray[ndarray[image1,image2],ndarray[image1,image2]...] and so on. The images are RGB channelled with size of 224*224. There are 2200 training pairs with 1100 match image pairs and 1100 mismatch image pairs. Also, there are 1000 test pairs with 500 match image pairs and 500 mismatch image pairs. I have designed