Git Product home page Git Product logo

decision's Introduction

DECISION

Unsupervised Multi-source Domain Adaptation Without Access to Source Data (CVPR '21 Oral)

Overview

This repository is a PyTorch implementation of the paper Unsupervised Multi-source Domain Adaptation Without Access to Source Data published at CVPR 2021. This code is based on the SHOT repository.

Dependencies

Create a conda environment with environment.yml.

Dataset

  • Manually download the datasets Office, Office-Home, Office-Caltech from the official websites.
  • Move gen_list.py inside data directory.
  • Generate '.txt' file for each dataset using gen_list.py (change dataset argument in the file accordingly).

Training

  • Train source models (shown here for Office with source A)
python train_source.py --dset office --s 0 --max_epoch 100 --trte val --gpu_id 0 --output ckps/source/
  • Adapt to target (shown here for Office with target D)
python adapt_multi.py --dset office --t 1 --max_epoch 15 --gpu_id 0 --output_src ckps/source/ --output ckps/adapt
  • Distill to single target model (shown here for Office with target D)
python distill.py --dset office --t 1 --max_epoch 15 --gpu_id 0 --output_src ckps/adapt --output ckps/dist

Citation

If you use this code in your research please consider citing

@article{ahmed2021unsupervised,
  title={Unsupervised Multi-source Domain Adaptation Without Access to Source Data},
  author={Ahmed, Sk Miraj and Raychaudhuri, Dripta S and Paul, Sujoy and Oymak, Samet and Roy-Chowdhury, Amit K},
  journal={arXiv preprint arXiv:2104.01845},
  year={2021}
}

decision's People

Contributors

driptarc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.