kinredon / Harmonious-Teacher

Official implementation of the CVPR 2023 paper "Harmonious Teacher for Cross-domain Object Detection"
Apache License 2.0
26 stars 3 forks source link

A question about harmony measure #6

Open lqm112 opened 7 months ago

lqm112 commented 7 months ago

Why is the definition of harmony measure h = p ^ b u ^ ( 1-b ), not h = b p + ( 1-b ) * u,Can you explain it in detail

zqf30 commented 5 months ago

I think that using the former definition can ensure that h is not greater than 1. Compared to the latter, using the former enables the loss function to give relatively more attention to the features that are hard to be classified.