Giter VIP home page Giter VIP logo

ultrasoundgan's Introduction

Breaking the Dilemma of Medical Image-to-image Translation

bat

Get the full paper on Arxiv. This paper has been accepted by NeurIPS 2021 (Spotlight).

Main Reference Environment

  1. Linux (Titan RTX)
  2. Python (3.6.6)
  3. torch (1.9.0+cu111)
  4. visdom (0.1.8.9)
  5. numpy (1.19.2)
  6. skimage (0.15.0)
  7. Yaml (5.4.1)
  8. cv2 (3.4.2)
  9. PIL (8.3.2)

Usage

  1. Create dataset
    • train path/A/
    • train path/B/
    • val path/A/
    • val path/B/
  2. The default data file form is .npy and normalized to [-1,1].
  3. Modify the parameters in the .yaml file as needed:
    • bidirect: whether to use bidirectional network, corresponding to the C or NC mode in the paper.
    • regist: whether the registration network is used, corresponding to the +R mode in the paper.
    • noise_level: set to 0 if you do not want to use noise.
    • port: port parameters of visdom.
  4. Default RegGAN mode (bidirect:False regist:True).
  5. Start visdom:
python -m visdom.server -p 6019

If other port parameters are used, you need to modify the port in yaml.

  1. Train:
python train.py

Trained Weights

We provide Pix2pix, CycleGAN, RegGAN trained weights under the condition of Noise.0: https://drive.google.com/file/d/1xWXB9u6dQ9ZytmgQl_0ph4H_Ivtd41zJ/view?usp=sharing

  • Pix2pix_noise0
  • CycleGAN_noise0
  • RegGAN_noise0

Processed data

We provide some processed data for your convenience: https://drive.google.com/file/d/1PiTzGQEVV7NO4nPaHeQv61WgDxoD76nL/view?usp=sharing

Citation

If you find RegGAN useful in your research, please consider citing:

@inproceedings{
kong2021breaking,
title={Breaking the Dilemma of Medical Image-to-image Translation},
author={Lingke Kong and Chenyu Lian and Detian Huang and ZhenJiang Li and Yanle Hu and Qichao Zhou},
booktitle={Thirty-Fifth Conference on Neural Information Processing Systems},
year={2021},
url={https://openreview.net/forum?id=C0GmZH2RnVR}
}

ultrasoundgan's People

Contributors

zzduoyi avatar

Watchers

 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.