Coder Social home page Coder Social logo

beautifulqiang / protocontra-sfda Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cscyqj/miccai23-protocontra-sfda

0.0 0.0 0.0 2.7 MB

This is the official code of MICCAI23 paper "Source-Free Domain Adaptation for Medical Image Segmentation via Prototype-Anchored Feature Alignment and Contrastive Learning"

Python 100.00%

protocontra-sfda's Introduction

Proto_Contra_SFDA

Source-Free Domain Adaptation for Medical Image Segmentation via Prototype-Anchored Feature Alignment and Contrastive Learning

This is an official implementation of MICCAI 2023 paper [Source-Free Domain Adaptation for Medical Image Segmentation via Prototype-Anchored Feature Alignment and Contrastive Learning.] (https://arxiv.org/abs/2307.09769)

Requirements

  • Linux with Python ≥ 3.7
  • PyTorch ≥ 1.7.1 and torchvision matches the PyTorch insallation. Install them following the official instructions from pytorch.org to make sure of this.

Quick start

1. Clone repository.
git clone https://github.com/CSCYQJ/MICCAI23-ProtoContra-SFDA
cd MICCAI23-ProtoContra-SFDA
2. Download Data.

Both datasets are public available. CT modality data is from MICCAI 2015 Multi-Atlas Abdomen Labeling Challenge. MRI modality data is from 2019 CHAOS Challenge.

3. Source Model Training.
python main_trainer_source.py --config_file configs/train_source_seg.yaml --gpu_id 0
4. Target Domain Adaptaion PFA Stage.
python main_trainer_sfda.py --config_file configs/train_target_adapt_PFA.yaml --gpu_id 0
5. Target Domain Adaptaion CL Stage.
python main_trainer_sfda.py --config_file configs/train_target_adapt_CL.yaml --gpu_id 0

Citation

If you find this work or code is helpful in your research, please cite:

@article{yu2023source,
  title={Source-Free Domain Adaptation for Medical Image Segmentation via Prototype-Anchored Feature Alignment and Contrastive Learning},
  author={Yu, Qinji and Xi, Nan and Yuan, Junsong and Zhou, Ziyu and Dang, Kang and Ding, Xiaowei},
  journal={arXiv preprint arXiv:2307.09769},
  year={2023}
}

Acknowledgement

Many thanks to these excellent opensource projects

protocontra-sfda's People

Contributors

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