All Projects → postBG → Dta.pytorch

postBG / Dta.pytorch

Official implementation of Drop to Adapt: Learning Discriminative Features for Unsupervised Domain Adaptation, to be presented at ICCV 2019.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Dta.pytorch

Htcn
Implementation of "Harmonizing Transferability and Discriminability for Adapting Object Detectors" (CVPR 2020)
Stars: ✭ 82 (-43.06%)
Mutual labels:  domain-adaptation
Iros20 6d Pose Tracking
[IROS 2020] se(3)-TrackNet: Data-driven 6D Pose Tracking by Calibrating Image Residuals in Synthetic Domains
Stars: ✭ 113 (-21.53%)
Mutual labels:  domain-adaptation
Neuraldialog Zsdg
PyTorch codebase for zero-shot dialog generation SIGDIAL 2018, It is released by Tiancheng Zhao (Tony) from Dialog Research Center, LTI, CMU
Stars: ✭ 131 (-9.03%)
Mutual labels:  domain-adaptation
Ddc Transfer Learning
A simple implementation of Deep Domain Confusion: Maximizing for Domain Invariance
Stars: ✭ 83 (-42.36%)
Mutual labels:  domain-adaptation
Lsd Seg
Learning from Synthetic Data: Addressing Domain Shift for Semantic Segmentation
Stars: ✭ 99 (-31.25%)
Mutual labels:  domain-adaptation
Monoculardepth Inference
Inference pipeline for the CVPR paper entitled "Real-Time Monocular Depth Estimation using Synthetic Data with Domain Adaptation via Image Style Transfer" (http://www.atapour.co.uk/papers/CVPR2018.pdf).
Stars: ✭ 115 (-20.14%)
Mutual labels:  domain-adaptation
Man
Multinomial Adversarial Networks for Multi-Domain Text Classification (NAACL 2018)
Stars: ✭ 72 (-50%)
Mutual labels:  domain-adaptation
Domain Adaptive Faster Rcnn Pytorch
Domain Adaptive Faster R-CNN in PyTorch
Stars: ✭ 135 (-6.25%)
Mutual labels:  domain-adaptation
Convolutional Handwriting Gan
ScrabbleGAN: Semi-Supervised Varying Length Handwritten Text Generation (CVPR20)
Stars: ✭ 107 (-25.69%)
Mutual labels:  domain-adaptation
Dise Domain Invariant Structure Extraction
Pytorch Implementation -- All about Structure: Adapting Structural Information across Domains for Boosting Semantic Segmentation, CVPR 2019
Stars: ✭ 129 (-10.42%)
Mutual labels:  domain-adaptation
Seanet
Self-Ensembling Attention Networks: Addressing Domain Shift for Semantic Segmentation
Stars: ✭ 90 (-37.5%)
Mutual labels:  domain-adaptation
Detectron Self Train
A PyTorch Detectron codebase for domain adaptation of object detectors.
Stars: ✭ 99 (-31.25%)
Mutual labels:  domain-adaptation
Generate to adapt
Implementation of "Generate To Adapt: Aligning Domains using Generative Adversarial Networks"
Stars: ✭ 120 (-16.67%)
Mutual labels:  domain-adaptation
Imagenet R
ImageNet-R(endition) and DeepAugment
Stars: ✭ 82 (-43.06%)
Mutual labels:  domain-adaptation
Shot
code released for our ICML 2020 paper "Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptation"
Stars: ✭ 134 (-6.94%)
Mutual labels:  domain-adaptation
Hatn
Hierarchical Attention Transfer Network for Cross-domain Sentiment Classification (AAAI'18)
Stars: ✭ 73 (-49.31%)
Mutual labels:  domain-adaptation
Opencompounddomainadaptation Ocda
Pytorch implementation for "Open Compound Domain Adaptation" (CVPR 2020 ORAL)
Stars: ✭ 114 (-20.83%)
Mutual labels:  domain-adaptation
Cdcl Human Part Segmentation
Repository for Paper: Cross-Domain Complementary Learning Using Pose for Multi-Person Part Segmentation (TCSVT20)
Stars: ✭ 143 (-0.69%)
Mutual labels:  domain-adaptation
Combogan
Stars: ✭ 134 (-6.94%)
Mutual labels:  domain-adaptation
Mfr
Learning Meta Face Recognition in Unseen Domains, CVPR, Oral, 2020
Stars: ✭ 127 (-11.81%)
Mutual labels:  domain-adaptation

DTA

Official implementation of Drop to Adapt: Learning Discriminative Features for Unsupervised Domain Adaptation, to be presented at ICCV 2019.

Setup

Environment

Create a new python virtual environment, and install the packages specified in requirements.txt:

pip install -r requirements.txt

The code has been tested on Python 3.6.8 with CUDA 9.0 on 4 Titan Xp GPUs.

Download Data

Download the VisDA-2017 Classification data into ./data:

cd ./data
wget http://csr.bu.edu/ftp/visda17/clf/train.tar
tar xvf train.tar

wget http://csr.bu.edu/ftp/visda17/clf/validation.tar
tar xvf validation.tar  

Running the code

We provide two basic configurations under ./configs/ for ResNet-101 and ResNet-50 models.

python main.py --config_path ./configs/resnet101_dta_vat.json
python main.py --config_path ./configs/resnet50_dta_vat.json

Hyper-parameters can be changed directly from the command line as well. For example, to run the ResNet-101 model without VAT:

python main.py --config_path ./configs/resnet101_dta_vat.json --use_vat False

Tensorboard logs are saved under the path specified in ./args.experiment_dir/args.experiment_description.

Copyright

All codes on this page are copyrighted by Naver Labs and published under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License. You must attribute the work in the manner specified by the author. You may not use the work for commercial purposes, and you may only distribute the resulting work under the same license if you alter, transform, or create the work.

Acknowledgement

This work was done as part of an internship program at Naver Labs, Autonomous Driving Group.



Citation

@InProceedings{Lee_2019_ICCV,
    author = {Lee, Seungmin and Kim, Dongwan and Kim, Namil and Jeong, Seong-Gyun},
    title = {Drop to Adapt: Learning Discriminative Features for Unsupervised Domain Adaptation},
    booktitle = {The IEEE International Conference on Computer Vision (ICCV)},
    month = {October},
    year = {2019}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].