File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ class DomainAdversarialLoss(nn.Module):
1414 <https://arxiv.org/pdf/1702.05464.pdf>`_.
1515 Similar to the original `GAN <https://arxiv.org/pdf/1406.2661.pdf>`_ paper, ADDA argues that replacing
1616 :math:`\text{log}(1-p)` with :math:`-\text{log}(p)` in the adversarial loss provides better gradient qualities. Detailed
17- optimization process can be found at `examples/domain_adaptation/image_classification/adda.py`.
17+ optimization process can be found `here
18+ <https://github.com/thuml/Transfer-Learning-Library/blob/master/examples/domain_adaptation/image_classification/adda.py>`_.
1819
1920 Inputs:
2021 - domain_pred (tensor): predictions of domain discriminator
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ ADDA: Adversarial Discriminative Domain Adaptation
3434.. autoclass :: dalib.adaptation.adda.DomainAdversarialLoss
3535
3636.. note ::
37- ADDAgrl is also implemented and benchmarked. You can find code at
38- `examples/domain_adaptation/image_classification/addagrl.py ` .
37+ ADDAgrl is also implemented and benchmarked. You can find code
38+ `here < https://github.com/thuml/Transfer-Learning-Library/blob/master/ examples/domain_adaptation/image_classification/addagrl.py>`_ .
3939
4040
4141.. _BSP :
You can’t perform that action at this time.
0 commit comments