All Projects → DelTA-Lab-IITK → CADA

DelTA-Lab-IITK / CADA

Licence: MIT License
Attending to Discriminative Certainty for Domain Adaptation

Programming Languages

lua
6591 projects
shell
77523 projects

Projects that are alternatives of or similar to CADA

adapt
Awesome Domain Adaptation Python Toolbox
Stars: ✭ 46 (+170.59%)
Mutual labels:  adversarial-learning, domain-adaptation
Adaptsegnet
Learning to Adapt Structured Output Space for Semantic Segmentation, CVPR 2018 (spotlight)
Stars: ✭ 654 (+3747.06%)
Mutual labels:  adversarial-learning, domain-adaptation
domain-adaptation-capls
Unsupervised Domain Adaptation via Structured Prediction Based Selective Pseudo-Labeling
Stars: ✭ 43 (+152.94%)
Mutual labels:  domain-adaptation, unsupervised-domain-adaptation
cool-papers-in-pytorch
Reimplementing cool papers in PyTorch...
Stars: ✭ 21 (+23.53%)
Mutual labels:  cvpr, adversarial-learning
Convolutional Handwriting Gan
ScrabbleGAN: Semi-Supervised Varying Length Handwritten Text Generation (CVPR20)
Stars: ✭ 107 (+529.41%)
Mutual labels:  cvpr, domain-adaptation
Gvb
Code of Gradually Vanishing Bridge for Adversarial Domain Adaptation (CVPR2020)
Stars: ✭ 52 (+205.88%)
Mutual labels:  adversarial-learning, domain-adaptation
Tf Dann
Domain-Adversarial Neural Network in Tensorflow
Stars: ✭ 556 (+3170.59%)
Mutual labels:  adversarial-learning, domain-adaptation
ACAN
Code for NAACL 2019 paper: Adversarial Category Alignment Network for Cross-domain Sentiment Classification
Stars: ✭ 23 (+35.29%)
Mutual labels:  domain-adaptation, unsupervised-domain-adaptation
Clan
( CVPR2019 Oral ) Taking A Closer Look at Domain Shift: Category-level Adversaries for Semantics Consistent Domain Adaptation
Stars: ✭ 248 (+1358.82%)
Mutual labels:  adversarial-learning, domain-adaptation
Awesome Domain Adaptation
A collection of AWESOME things about domian adaptation
Stars: ✭ 3,357 (+19647.06%)
Mutual labels:  adversarial-learning, domain-adaptation
Transferable-E2E-ABSA
Transferable End-to-End Aspect-based Sentiment Analysis with Selective Adversarial Learning (EMNLP'19)
Stars: ✭ 62 (+264.71%)
Mutual labels:  adversarial-learning, domain-adaptation
DA-RetinaNet
Official Detectron2 implementation of DA-RetinaNet of our Image and Vision Computing 2021 work 'An unsupervised domain adaptation scheme for single-stage artwork recognition in cultural sites'
Stars: ✭ 31 (+82.35%)
Mutual labels:  domain-adaptation, unsupervised-domain-adaptation
game-feature-learning
Code for paper "Cross-Domain Self-supervised Multi-task Feature Learning using Synthetic Imagery", Ren et al., CVPR'18
Stars: ✭ 68 (+300%)
Mutual labels:  domain-adaptation
MonoRUn
[CVPR'21] MonoRUn: Monocular 3D Object Detection by Reconstruction and Uncertainty Propagation
Stars: ✭ 85 (+400%)
Mutual labels:  cvpr
learning2hash.github.io
Website for "A survey of learning to hash for Computer Vision" https://learning2hash.github.io
Stars: ✭ 14 (-17.65%)
Mutual labels:  cvpr
tulip
Scaleable input gradient regularization
Stars: ✭ 19 (+11.76%)
Mutual labels:  adversarial-learning
cmd
Central Moment Discrepancy for Domain-Invariant Representation Learning (ICLR 2017, keras)
Stars: ✭ 53 (+211.76%)
Mutual labels:  domain-adaptation
transfer-learning-algorithms
Implementation of many transfer learning algorithms in Python with Jupyter notebooks
Stars: ✭ 42 (+147.06%)
Mutual labels:  domain-adaptation
BIFI
[ICML 2021] Break-It-Fix-It: Unsupervised Learning for Program Repair
Stars: ✭ 74 (+335.29%)
Mutual labels:  domain-adaptation
ganslate
Simple and extensible GAN image-to-image translation framework. Supports natural and medical images.
Stars: ✭ 17 (+0%)
Mutual labels:  domain-adaptation

Attending to Discriminative Certainty for Domain Adaptation(CADA)

Torch code for Domain Adaptation model(CADA) . For more information, please refer the paper

Accepted at [CVPR 2019]

[Project] [Paper Link ]

Abstract

In this paper, we aim to solve for unsupervised domain adaptation of classifiers where we have access to label information for the source domain while these are not available for a target domain. While various methods have been proposed for solving these including adversarial discriminator based methods, most approaches have focused on the entire image based domain adaptation. In an image, there would be regions that can be adapted better, for instance, the foreground object may be similar in nature. To obtain such regions, we propose methods that consider the probabilistic certainty estimate of various regions and specify focus on these during classification for adaptation. We observe that just by incorporating the probabilistic certainty of the discriminator while training the classifier, we are able to obtain state of the art results on various datasets as compared against all the recent methods. We provide a thorough empirical analysis of the method by providing ablation analysis, statistical significance test, and visualization of the attention maps and t-SNE embeddings. These evaluations convincingly demonstrate the effectiveness of the proposed approach

Result

Requirements

This code is written in Lua and requires Torch.

You also need to install the following package in order to sucessfully run the code.

Download Dataset

Prepare Datasets
  • Download the dataset

Training Steps

We have prepared everything for you ;)

####Clone the repositotry

git clone https://github.com/DelTA-Lab-IITK/CADA

Dataset prepare

  • Download dataset

  • put all source images inside mydataset/train/ such that folder name is class name

  mkdir -p /path_to_wherever_you_want/mydataset/train/ 
  • put all target images inside mydataset/val/ such that folder name is class name
mkdir -p /path_to_wherever_you_want/mydataset/val/ 
  • creare softlink of dataset
 cd CADA/
 ln -sf /path_to_wherever_you_want/mydataset dataset

Pretrained Alexnet model

  • Download Alexnet pretrained caffe model Link

Pretrained ResNet model

  • Download ResNet pretrained model Link
cd CADA/  
ln -sf /path_to_where_model_is_downloaded/ pretrained_network 

Train model

cd CADA/  
./train.sh 

Reference

If you use this code as part of any published research, please acknowledge the following paper

@InProceedings{Kurmi_2019_CVPR,
author = {Kumar Kurmi, Vinod and Kumar, Shanu and Namboodiri, Vinay P.},
title = {Attending to Discriminative Certainty for Domain Adaptation},
booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition(CVPR),},
month = {June},
year = {2019}
}

Contributors

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].