thank you for sharing the code, I have a quaestio related with Ladv, why do you use the detach () in Ladv in this line:
|
tgt_soft_label = tgt_soft_label.detach() |
I ask this question because in training of semantic segmentation we need tgt_soft_label to fool the disc model?