Coder Social home page Coder Social logo

cvp's Introduction

Intro

Implementation of our currently unpublished work Certainty Volume Prediction for Unsupervised Domain Adaptation.

Basic setup

  • Install environment with conda env create --file=environment.yaml --name CVP
  • Modify dataset paths in configs/global_config.yaml, keep the <domain>, <class> and <image> template parameters in the path
  • Activate env with conda activate CVP
  • Run the script with:
CUDA_VISIBLE_DEVICES=0,1 python3 src/run.py \
--source-dataset Adaptiope/real_life \
--target-dataset Adaptiope/synthetic \
--configs configs/datasets/adaptiope.yaml configs/archs/resnet101.yaml \
--sub-dir TESTING --comment CHECKING_SETUP
  • 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 and --comment flags.

Note on reproducibility

For reproducibility, we recommend using Ubuntu 18.04 with NVIDIA driver version 450.102.04 while using 2x 1080Ti GPUs and the above setup steps. The code itself is fully deterministic, multiple runs with the same seed should yield the exact same result.

cvp's People

Contributors

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