I understood your problem differently. The layers of A1 and A2 should have different layer names, but the same names for their weights. These weight names should be the same as the names of the layers of the network you are fine tuning. That is, you only need to load one model, the weights of which will be shared by both sides of the Siamese network.
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/0f1d520c-4ecd-4232-9c56-b21a0bdf621c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/jc0Jx4JjWwo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/CA%2BdcAtzC6GV-kMa0VcO6_Vhxxo%2Bckr2AkaX%2Bdh%2BF-i5f4EEeuA%40mail.gmail.com.
Yes, you got the idea right. I will try it out, i thought the preloaded network needed to have the exact architecture as the new one. But what you say seems to make more natural sense. I will post back after my trials.
-Swami
I am also looking to train a Siamese network for face recognition. So far, I've been able to use the tutorial given in http://caffe.berkeleyvision.org/gathered/examples/siamese.html on my own dataset. I made a few changes to the train/val prototxt, whereby I specified two ImageData layers for input into the network, rather than by using a LevelDB database. This configuration seemed to train well, as the loss looked like it was going down. However, I am having some trouble extracting features from this network, as I'm not able to figure out how to get the python wrapper to accept two images as input into a network. Can you give me some insight into this?
Hello,
I am also looking to train a Siamese network for face recognition. So far, I've been able to use the tutorial given in http://caffe.berkeleyvision.org/gathered/examples/siamese.html on my own dataset. I made a few changes to the train/val prototxt, whereby I specified two ImageData layers for input into the network, rather than by using a LevelDB database. This configuration seemed to train well, as the loss looked like it was going down. However, I am having some trouble extracting features from this network, as I'm not able to figure out how to get the python wrapper to accept two images as input into a network. Can you give me some insight into this?
--
You received this message because you are subscribed to a topic in the Google Groups "Caffe Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/caffe-users/jc0Jx4JjWwo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/c3ee1040-38c8-458f-83aa-add45d89a009%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/ea68507d-fd22-49d5-bdb3-37affb05f389%40googlegroups.com.
I am creating a siamese network and I want to initialize the two halves with weights from another pre-trained network. How do I do this in Caffe ?
I am wondering whether you solved the initialization problem of the siamese-network ? I also have the same doubt as the example in the caffe just initialize the weights of the 2 sub-network seperately !!