Code Monkey home page Code Monkey logo

red-gan's Introduction

Red-GAN

The repository contains code used for the "Red-GAN: Attacking class imbalance via conditioned generation. Yet another medical imaging perspective" accepted at MIDL2020 (http://arxiv.org/abs/2004.10734 ). The paper proposes one more data augmentation protocol based on generative adversarial networks. It is based on the SPADE (that is capable to learn a mapping between label maps and images), and is equiped with two additional components: (a) network conditioning at a global-level information (e.g. acquisition environment or lesion type), (b) a passive player in a form of segmentor introduced into the the adversarial game. The method was validated on two medical datasets: BraTS, ISIC.

Getting started

To use the three player design (SPADE design equiped with the segmentor) introduced in the paper, one has to first train the segmentor. For that, please step to the unet folder and check out the readme there. Once the segmentor is trained, step to the gan folder.

To use only the two-player design (vanila SPADE architecture), step to the gan folder right away (also, in this case, --segmentator option should be specified as None).

Requirements

Both GAN and U-Net parts are written in Pytorch. For further installation requirements, please check the corresponding folders.

Citation

To cite the repository/paper please use:

@article{qasim2020red, title={Red-GAN: Attacking class imbalance via conditioned generation. Yet another medical imaging perspective}, author={Qasim, Ahmad B and Ezhov, Ivan and Shit, Suprosanna and Schoppe, Oliver and Paetzold, Johannes C and Sekuboyina, Anjany and Kofler, Florian and Lipkova, Jana and Li, Hongwei and Menze, Bjoern}, journal={arXiv preprint arXiv:2004.10734}, year={2020} }

red-gan's People

Contributors

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