GithubHelp home page GithubHelp logo

xmindflow / ssl-contrastive Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 1.0 284 KB

[ISBI 2024] Leveraging Unlabeled Data for 3D Medical Image Segmentation through Self-Supervised Contrastive Learning

Python 100.00%
3d contrastive-learning deep-learning medical-imaging pancreas pancreas-segmentation segmentation selfsupervised semi-supervised-learning

ssl-contrastive's Introduction

Welcome to our GitHub repository! Our 3D semi-supervised segmentation approach addresses key challenges by leveraging two specialized subnetworks, correcting errors and enhancing contextual information. We introduce targeted verification training and self-supervised contrastive learning to improve predictions. Our model demonstrates superior performance on clinical MRI and CT scans for organ segmentation, outperforming state-of-the-art methods. Dive into our code for advanced 3D segmentation capabilities!

Please consider starring us, if you found it useful. Thanks

Updates

  • November 21, 2023: First release of the code.

Quick Overview

Diagram of the proposed method

Installation

This code has been implemented in python language using Pytorch libarary and tested in ubuntu OS, though should be compatible with related environment. following Environement and Library needed to run the code:

  • CentOS Linux release 7.3.1611
  • Python 3.6.13
  • CUDA 9.2
  • PyTorch 1.9.0
  • medpy 0.4.0
  • tqdm,h5py

Getting Started

Please download the prepared dataset from the following link and use the dataset path in the training and evalution code.

Please change the database path and data partition file in the corresponding code.

Training

To train the network on the LA dataset, execute python pyhon train_LA. For the Pancreas dataset, use python pyhon train_pancreas

Evaluation

To evaluate the network on the LA dataset, run pyhon test_LA. For the Pancreas dataset, run pyhon test_pancreas

Citation

If you find this project useful, please consider citing:

@InProceedings{ssl-karimi,
    author    = {},
    title     = {Leveraging Unlabeled Data for 3D Medical Image Segmentation through Self-Supervised Contrastive Learning},
    booktitle = {ISBI 2024},
    month     = {},
    year      = {},
    pages     = {}
}

Acknowledgement

We build the project based on MCF-semsupervise. Thanks for their contribution.

ssl-contrastive's People

Contributors

rezazad68 avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

overwhelmedyy

ssl-contrastive's Issues

How should I change the code about the class_num=3 case

Sorry to bother the author. May I ask what changes I need to make to the code if I want to categorize a larger number, for example class_num=3? I would really appreciate your help. I will be grateful if you can answer!

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.