kevinlin311tw / Caffe-DeepBinaryCode

Supervised Semantics-preserving Deep Hashing (TPAMI18)
https://arxiv.org/abs/1507.00101v2
Other
205 stars 83 forks source link

K1_EuclideanLoss has two input #11

Closed appleleaves closed 6 years ago

appleleaves commented 7 years ago

Hi Kevin: Why K1_EuclideanLoss and K2_EuclideanLoss has two same input? I believe you are doing the same work on both input, in SSDH case, the latent_sigmoid layer output. Why? Am I wrong,or miss something?

Thanks for your time.

-Yip

kevinlin311tw commented 7 years ago

The second input is just a redundant input. We compute loss only with the first input. Any pull-requests are welcome!