Deep-Unsupervised-Domain-Adaptation icon indicating copy to clipboard operation
Deep-Unsupervised-Domain-Adaptation copied to clipboard

Hello, a question about the CDAN function in loss.py

Open BaeHann opened this issue 1 year ago • 1 comments

Hello! Within the CDAN function, entropy.detach() was not found. Does that mean the entropy will be affected (as well as the classification result and relevant parameters in model) when loss.backward() was executed?

BaeHann avatar Mar 09 '23 14:03 BaeHann

I am not that proficient in English. If there is anything grammatically wrong or incomprehensible, please be so kind as to inform me.

BaeHann avatar Mar 09 '23 14:03 BaeHann