Git Product home page Git Product logo

cowa-jmds's Introduction

Confidence score Weighting Adaptation using the JMDS (CoWA-JMDS)

This repository is the official implementation of "Confidence Score for Source-Free Unsupervised Domain Adaptation", accepted in ICML 2022. This code refers to SHOT implementation.

Environments

Fix 'prefix' in environment.yaml file.

prefix: /home/[your_username]/anaconda3/env/CoWA

Then create the environment.

$ conda env create --file environment.yaml

Datasets

You can download datasets here:

Training

After downloading the datasets, create following files and directories in this directory.

$ mkdir ./data

data
└── VISDA-C
    ├── train_list.txt
    └── validation_list.txt

Each list.txt file has (image_path, class index) pairs

./data/VISDA-C/train_list.txt

line 1 : /home/[username]/data/VisDA-2017/train/aeroplane/src_2_02691156_4def53f149137451b0009f08a96f38a9__44_349_150.png 0
line 2 : /home/[username]/data/VisDA-2017/train/aeroplane/src_1_02691156_5d0d3f54c5d9dd386a1aee7416e39fad__180_236_150.png 0
...

Then run a script file.

$ chmod +x run_visda.sh
$ ./run_visda.sh

cowa-jmds's People

Contributors

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