FSOD-code icon indicating copy to clipboard operation
FSOD-code copied to clipboard

Two way Contrastive Training

Open JiXuKong opened this issue 5 years ago • 2 comments

Thanks for your code but I got confused about two way training and wish your help. I can understand 1 way training, the surpport image and quary image feed into network and output boxes with the same class of surpport image. But when it comes to 2 way training, is there 2 corresponding classes with 2 surpport images? if it's just one positive class, how the negtive branch output proposal in rpn? Thanks a lot!

JiXuKong avatar May 21 '20 15:05 JiXuKong

Positive and negative classes have their own attention rpn. The targets of negative class rpn are all 0. But there are still some proposals generated by the negative class rpn and will be sent to the detector to classify them.

fanq15 avatar May 22 '20 04:05 fanq15

Positive and negative classes have their own attention rpn. The targets of negative class rpn are all 0. But there are still some proposals generated by the negative class rpn and will be sent to the detector to classify them.

Does the RPN/Multi-Relation Detector share parameters between 2 branch?

JiXuKong avatar May 22 '20 14:05 JiXuKong