Victor Lempitsky
We lifted 41 functions out of this paper's own repositories and ran 34 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| adapt-python/adapt | — | 11 of 15 |
| chenkang121/DANN | — | 7 of 7 |
| jvanvugt/pytorch-domain-adaptation | — | 6 of 7 |
| thuml/Transfer-Learning-Library | — | 5 of 5 |
| KeiraZhao/MDAN | — | 2 of 2 |
| mashaan14/DANN-toy | — | 1 of 2 |
| ermolenkodev/da-ssd | — | 1 of 1 |
| tachitachi/GradientReversal | — | 1 of 1 |
| sroutray/da-ganin | — | 0 of 1 |
| Function | Status | Where it lives |
|---|---|---|
| BSDS500 | Ran | jvanvugt/pytorch-domain-adaptation/revgrad.py code served (permissive licence) · get_code("0ca46bc4a0a297f2") |
| DomainAdversarialLoss | Ran | thuml/Transfer-Learning-Library/tllib/alignment/dann.py code served (permissive licence) · get_code("6ab18998af0ba03c") |
| GradReverse | Ran | ermolenkodev/da-ssd/da_ssd/model/da.py pointer only (licence: NONE) · get_code("20cb3aaf5c97f956") |
| GradientReversal | Ran | jvanvugt/pytorch-domain-adaptation/revgrad.py code served (permissive licence) · get_code("f0584b75b21cfa14") |
| GradientReversalFunction | Ran | jvanvugt/pytorch-domain-adaptation/revgrad.py code served (permissive licence) · get_code("2c7252e6fbe318a4") |
| GradientReversalLayer | Ran | KeiraZhao/MDAN/model.py pointer only (licence: NONE) · get_code("a131c7e1826f2658") |
| GradientReverseFunction | Ran | thuml/Transfer-Learning-Library/tllib/alignment/dann.py code served (permissive licence) · get_code("8bcf26efeb2782aa") |
| GrayscaleToRgb | Ran | jvanvugt/pytorch-domain-adaptation/revgrad.py code served (permissive licence) · get_code("95d4a3f782fc662d") |
| MDANet | Ran | KeiraZhao/MDAN/model.py pointer only (licence: NONE) · get_code("305e7ca5569d6fe3") |
| MNISTM | Ran | jvanvugt/pytorch-domain-adaptation/revgrad.py code served (permissive licence) · get_code("b32765b5b538dbf4") |
| Net | Ran | jvanvugt/pytorch-domain-adaptation/revgrad.py code served (permissive licence) · get_code("49bc3ed72b781f50") |
| WarmStartGradientReverseLayer | Ran | thuml/Transfer-Learning-Library/tllib/alignment/dann.py code served (permissive licence) · get_code("74b0480769c5ba97") |
| accuracy | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("9914f5b3194c1f7b") |
| accuracy | Ran | thuml/Transfer-Learning-Library/tllib/alignment/dann.py code served (permissive licence) · get_code("17aeadd82099f0be") |
| binary_accuracy | Ran | thuml/Transfer-Learning-Library/tllib/alignment/dann.py code served (permissive licence) · get_code("2c9d98412ada0b6a") |
| check_arrays | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("b28b2fd06d28b0a0") |
| check_if_compiled | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("8845995e56d4cff9") |
| check_network | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("d5d3e0a555244347") |
| check_sample_weight | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("753fda05a9c00a3e") |
| classifier_loss | Ran | chenkang121/DANN/DANN_minit_to_mnist_m.py pointer only (licence: NONE) · get_code("b04d9d5764a5410b") |
| discriminator_loss | Ran | chenkang121/DANN/DANN_minit_to_mnist_m.py pointer only (licence: NONE) · get_code("97b8e1b80fda9274") |
| discriminator_loss_ | Ran | chenkang121/DANN/DANN_minit_to_mnist_m.py pointer only (licence: NONE) · get_code("991811eca03c0624") |
| flip_gradient | Ran | tachitachi/GradientReversal/flip_gradient.py pointer only (licence: NONE) · get_code("a5960daa5243f80f") |
| get_classifier | Ran | chenkang121/DANN/DANN_minit_to_mnist_m.py pointer only (licence: NONE) · get_code("d968cbdfc4dbc680") |
| get_default_discriminator | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("2bba5d9982e38156") |
| get_default_encoder | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("6f317a9e82457143") |
| get_default_task | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("bc61e8da0a70e61c") |
| get_discriminator | Ran | chenkang121/DANN/DANN_minit_to_mnist_m.py pointer only (licence: NONE) · get_code("2a2818b6a3f495d4") |
| get_feature_extract_model | Ran | chenkang121/DANN/DANN_minit_to_mnist_m.py pointer only (licence: NONE) · get_code("a7724a91540d3462") |
| linear_discrepancy | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("5ee018c7b767d60e") |
| make_insert_doc | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("337c118be78fa411") |
| make_variable | Ran | mashaan14/DANN-toy/core.py pointer only (licence: NONE) · get_code("3714824fc72387d9") |
| normalized_linear_discrepancy | Ran | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("80f788d717b43cf5") |
| train_step | Ran | chenkang121/DANN/DANN_minit_to_mnist_m.py pointer only (licence: NONE) · get_code("810938a759273697") |
| BaseAdapt | Not yet run | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("cf4b39f677292095") |
| BaseAdaptDeep | Not yet run | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("d5f97fa83a6f1185") |
| DANN | Not yet run | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("fcf59d80aabe9645") |
| GRL | Not yet run | sroutray/da-ganin/model.py pointer only (licence: NONE) · get_code("72b4d71c363c7308") |
| main | Not yet run | jvanvugt/pytorch-domain-adaptation/revgrad.py code served (permissive licence) · get_code("b5d9d0d6569a4d75") |
| set_random_seed | Not yet run | adapt-python/adapt/adapt/feature_based/_dann.py code served (permissive licence) · get_code("988358e38ca0a57c") |
| train_tgt | Not yet run | mashaan14/DANN-toy/core.py pointer only (licence: NONE) · get_code("fbc58747762376c0") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Top-performing deep architectures are trained on massive amounts of labeled data. In the absence of labeled data for a certain task, domain adaptation often provides an attractive option given that labeled data of similar nature but from a different domain (e.g. synthetic images) are available. Here, we propose a new approach to domain adaptation in deep architectures that can be trained on large amount of labeled data from the source domain and large amount of unlabeled data from the target domain (no labeled targetdomain data is necessary). As the training progresses, the approach promotes the emergence of "deep" features that are (i) discriminative for the main learning task on the source domain and (ii) invariant with respect to the shift between the domains. We show that this adaptation behaviour can be achieved in almost any feed-forward model by augmenting it with few standard layers and a simple new gradient reversal layer. The resulting augmented architecture can be trained using standard backpropagation. Overall, the approach can be implemented with little effort using any of the deep-learning packages. The method performs very well in a series of image classification experiments, achieving adaptation effect in the presence of big domain shifts and outperforming previous state-ofthe-art on Office datasets.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("1409.7495")
get_code_for_paper("1409.7495")
have("1409.7495")
Connect an agent — have() is free.