Shengcao-Cao / CMT

[CVPR 2023] CMT: Contrastive Mean Teacher for Domain Adaptive Object Detectors
Apache License 2.0
37 stars 6 forks source link

What's the difference between adding Lcontrast to all other losses and making Lcontrast alone? #18

Open Bradly-s opened 2 months ago

Bradly-s commented 2 months ago

In paper :"Lcontrast is added to all other losses (e.g., supervised source-domain detection loss, unsupervised target-domain detection loss) in the mean-teacher self-training method." What's the difference between adding Lcontrast to all other losses and making Lcontrast alone?

Shengcao-Cao commented 2 months ago

Hello @Bradly-s ,

In this sentence, we mean that we add up the contrastive loss and the detection loss terms all together, and optimize the total loss.

Best, Shengcao