Hi all,
I trained a siamese network on my own data. I followed the siamese netwrk tutorial and successfully modified the prototxt files to create a network and split the data into two text files, each txt file containing images for each branch of the siamese net.
I used the "ImageData" data layer for loading images directly from the txt files on both the channels of the siamese network.
However I want to check the precision and recall of my network and since there are no inbuilt layers for doing so, I need to write a script in python where I can compute the precision and recall values using the predictions i get from the network. How do I pass a pair of inputs into the net?
I see that there are a few examples online but they only deal with a single image. This line in the examples assigns input image to the blob.
net.blobs['data'].data[...] = im_input
How can I pass two images , one for each channel of the siamese network into the network?
THanks.