Coder Social home page Coder Social logo

pcdcl-sfda's Introduction

๐Ÿ“„ Pseudo-label Clustering-driven Dual-level Contrast Learning based Source-free Domain Adaptation for Fundus Image Segmentation

Dependency Preparation

cd PCDCL_SFDA
# Python Preparation
conda create -n PCDCL_SFDA python=3.8.5
activate PCDCL_SFDA
# (torch 1.7.1+cu110) It is recommended to use the conda installation on the Pytorch website https://pytorch.org/
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=11.0 -c pytorch
pip install -r requirements.txt

Model Training and Inference

    1. Download the dataset and modify the relevant paths in the configuration file.
    1. Source Model Train -- We use the code provided by ProSFDA to train the source model. If you want to use our trained source model, please contact me.
    1. Generation phase: Generate target domain pseudo-labels
          python generate_pseudo.py
    1. Adaptation stage: the source model adapts to the target domain
          python Train_target.py

Citation โœ๏ธ ๐Ÿ“„

If you find this repo useful for your research, please consider citing the paper as follows:

@inproceedings{zhou2023pseudo,
  title={Pseudo-Label Clustering-Driven Dual-Level Contrast Learning Based Source-Free Domain Adaptation for Fundus Image Segmentation},
  author={Zhou, Wei and Ji, Jianhang and Cui, Wei and Yi, Yugen},
  booktitle={Chinese Conference on Pattern Recognition and Computer Vision (PRCV)},
  pages={492--503},
  year={2023},
  organization={Springer}
}

pcdcl-sfda's People

Contributors

m4cheal avatar

Stargazers

 avatar

Watchers

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