BCDM
BCDM copied to clipboard
Question about `Formula (3)`
Hello, thanks for your brilliant work.
I have a question about your Formula (3)
in your paper.
Does the Formula (3)
corresponding the function discrepancy_calc()
?
https://github.com/BIT-DA/BCDM/blob/6f20fdef3bb982e58cc2885bc32bce08ac451cb6/segmentation/train_bcdm.py#L42
Why you calculate loss_cdd
by the function discrepancy_calc()
in the file train_bcdm.py
, while calculate loss_dis
by the function cdd()
in the file train_visda.py
?
Thanks for your interest. The Formula (3) does correspond to the function discrepancy_calc() and also cdd(), which is the "segmentation " version and "classification" version respectively. The two functions have the same function, the difference is only due to that the input in the segmentation task is pixel level.