Closed qsunyuan closed 1 year ago
Hi!
https://github.com/wusize/ovdet/blob/c67eecf11db35a7cbe020298572654506cfdff3e/ovdet/models/detectors/two_stage.py#L52
Why do we need two branches for forward propagation? It seems that one branch can calculate det-loss and baron-kd loss and reduce the amount of calculation.
This is to make the code base more flexible. Disentangling the det and ovd branch can make the code base suitable for any OVD methods.
Hi!
https://github.com/wusize/ovdet/blob/c67eecf11db35a7cbe020298572654506cfdff3e/ovdet/models/detectors/two_stage.py#L52
Why do we need two branches for forward propagation? It seems that one branch can calculate det-loss and baron-kd loss and reduce the amount of calculation.