openset-DA icon indicating copy to clipboard operation
openset-DA copied to clipboard

loss function problem

Open ThoamsDong opened this issue 5 years ago • 1 comments

Thanks for your work! I find that your code of loss function have some problem which only uses "Loss_cel + Loss_abv". However, the paper proposed "Loss_cel + Loss_abv" and "Loss_cel - Loss_abv". And I get very very low accuracy for sample 4 of task "s2m". It was just about 0.005 and even lower. And task "u2m" and task “m2u” have bad results. How should I deal with it? Do you have any advice?

ThoamsDong avatar Apr 02 '19 08:04 ThoamsDong

The loss function is "Loss_cel + Loss_abv" but in the code of the model, a gradient reversal layer is used to make it "Loss_cel - Loss_abv". I am still trying to fill the gap between my results and the paper. Any advice is welcome.

YU1ut avatar Apr 19 '19 07:04 YU1ut