Coder Social home page Coder Social logo

ubr2s's Introduction

Introduction

This repository contains the implementation of the unsupervised domain adaptation method proposed in our BMVC 2021 paper "UBR²S: Uncertainty-Based Resampling and Reweighting Strategy for Unsupervised Domain Adaptation". Given the instructions below, the code can be used to exactly reproduce the results presented in the paper.

Overview for our UBR²S method.

Basic setup

  • Install environment with conda env create --file=environment.yaml --name UBR2S
  • Modify dataset paths in configs/global_config.yaml, keep the <domain>, <class> and <image> template parameters in the path
  • Activate env with conda activate UBR2S
  • Run the scripts in the src/scripts/ folder to reproduce our results. You can use the scripts as a template to run our method on other datasets.
  • Note: Configs passed with the --config flag are read from left to right, i.e. keys in later configs can overwrite matching keys in earlier configs. configs/global_config.yaml is always read first.
  • The training output directory is also defined in global_config.yaml and makes use of the --sub-dir flag.

Note on reproducibility

For reproducibility, we recommend using Ubuntu 18.04 with 4x 1080Ti GPUs and the above setup steps. Please note that any deviations from this setup can lead to different results.

Citation

If you found our paper interesting or used our code in your research, please consider citing us.

@misc{ringwald2021ubr2s,
      title={{UBR$^2$S: Uncertainty-Based Resampling and Reweighting Strategy for Unsupervised Domain Adaptation}}, 
      author={Tobias Ringwald and Rainer Stiefelhagen},
      year={2021},
      eprint={2110.11739},
      archivePrefix={arXiv},
      primaryClass={cs.CV}
}

ubr2s's People

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.