Git Product home page Git Product logo

duo-segnet's Introduction

Duo-SegNet: Adversarial Dual-Views for Semi-Supervised Medical Image Segmentation

This repo contains the supported pytorch code and configuration files to reproduce medical image segmentaion results of Duo-SegNet.

Dual View Architecture

and denote Segmentation networks and Critic network. Here, Critic criticizes between prediction masks and the ground truth masks to perform the min-max game.

Environment

Please prepare an environment with python=3.8, and then run the command "pip install -r requirements.txt" for the dependencies.

Data Preparation

  • For experiments we used three datasets:

    • Nuclei (2018 Data Science Bowl)
    • Spleen (Medical segmentation decathlon - MSD)
    • Heart ([Medical segmentation decathlon - MSD)
  • File structure

     data
      ├── nuclei
      |   ├── train
      │   │   ├── image
      │   │   │   └── 00ae65...
      │   │   └── mask
      │   │       └── 00ae65...       
      ├── spleen
      ├── heart
      │   
      |
     Duo-SegNet
      ├──train.py
      ...
    
  • Use Med2Image to convert NIFTI to PNG.

Train/Test

  • Train : Run the train script on nuclei dataset for 5% of labeled data.
python train.py --dataset nuclei --ratio 0.05 --epoch 200
  • Test : Run the test script on nuclei dataset.
python test.py --dataset nuclei

Acknowledgements

This repository makes liberal use of code from Deep Co-training and pytorch-CycleGAN-and-pix2pix

References

Citing Duo-SegNet

    @inproceedings{peiris2021duo,
      title={Duo-SegNet: Adversarial Dual-Views for Semi-Supervised Medical Image Segmentation},
      author={Peiris, Himashi and Chen, Zhaolin and Egan, Gary and Harandi, Mehrtash},
      booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
      pages={428--438},
      year={2021},
      organization={Springer}
    }

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.