Closed KevinMusgrave closed 2 years ago
Right now it's hardcoded to use src_logits. Adding a domain parameter (set to either src or target) would allow CLossHook to be used for supervised domain adaptation as well.
src_logits
src
target
https://github.com/KevinMusgrave/pytorch-adapt/blob/3b2713c4860b325c79481f11307a193bb381d53f/src/pytorch_adapt/hooks/classification.py#L75-L88
Now in v0.0.82
Right now it's hardcoded to use
src_logits
. Adding a domain parameter (set to eithersrc
ortarget
) would allow CLossHook to be used for supervised domain adaptation as well.https://github.com/KevinMusgrave/pytorch-adapt/blob/3b2713c4860b325c79481f11307a193bb381d53f/src/pytorch_adapt/hooks/classification.py#L75-L88