BCDM icon indicating copy to clipboard operation
BCDM copied to clipboard

Question about `Formula (3)`

Open yuan-zm opened this issue 3 years ago • 1 comments

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 ?

yuan-zm avatar May 23 '21 13:05 yuan-zm

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.

feimo49 avatar Nov 19 '21 05:11 feimo49