Giter Site home page Giter Site logo

cvlab-yonsei / dass Goto Github PK

View Code? Open in Web Editor NEW
43.0 5.0 9.0 2.05 MB

An official PyTorch implementation of "Bi-directional Contrastive Learning for Domain Adaptive Semantic Segmentation", ECCV 2022.

License: GNU General Public License v3.0

Python 100.00%

dass's Introduction

[ECCV22] Bi-directional Contrastive Learning for Domain Adaptive Semantic Segmentation

This is a PyTorch implementation of [Bi-directional Contrastive Learning for Domain adaptive Semantic Segmentation].

DASS

Requirements

To install requirements:

  • Python 3.6
  • Pytorch 1.4.0

Getting Started

  1. Download the dataset.
  2. Download the ImageNet-pretrained Model [Link].

Training

Train the source-only model:

python so_run.py

Train our model:

python run.py

Evaluation

To perform evaluation on single model:

python eval.py --frm model.pth --single

dass's People

Contributors

leegeon31 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dass's Issues

No configuration file

Dear author,
Thanks for sharing your code. I want to reproduce this work but I can not find the config file. Could you please release the config file?
Sincerely,
Junkun

Regarding EMA Update of Prototypes

Hi, interesting work. I couldn't seem to find the ema update of prototypes in the code as indicated in the paper. Am I missing something? Thanks.

Issues with dynamic pseudo labels

Dear DASS team,

I'm extremely interested in your work "Bi-directional Contrastive Learning for Domain Adaptive Semantic Segmentation", especially for the dynamic pseudo label part. It is an amazing idea to generate different pseudo-labels with different source prototypes so that denser pseudo-labels could be achieved and the harmful effect of few incorrect pseudo-labels could be mitigated. However, when I look into the repository, I don't find the code for dynamic pseudo-labels and hybrid pseudo-labels. Is this version of the repository up to date? If not could you please update the code?

Best,
Mingxuan

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.