Coder Social home page Coder Social logo

guyuchao / vessel-wgan-pytorch Goto Github PK

View Code? Open in Web Editor NEW
84.0 2.0 19.0 28.17 MB

An implementation of《Retinal Vessel Segmentation in Fundoscopic Images with Generative Adversarial Networks》

Python 100.00%
pytorch retina segementation deep-learning gan

vessel-wgan-pytorch's Introduction

Vessel-wgan-pytorch

Author: Yuchao Gu

E-mail: [email protected]

Date: 2018-05-27

Description: The code is an pytorch implementation of 《Retinal Vessel Segmentation in Fundoscopic Images with Generative Adversarial Networks》


Overview

Data

DRIVE: Digital Retinal Images for Vessel Extraction you can download the train and test data from this server. You can also find data in the eyedata folder.

Pre-processing

The dataset contains 20 training images, the first step of my pre-processing is randomly cropping into 512*512. The second step is to randomly change brightness ,contrast and hue of the train image. I implement this method in my code, so you can be convenient to use it. Further more, a gan-based method of generating retina images can be used as an extra data source.

Model

Training

python train.py


How to use

Dependencies

This code depends on the following libraries:

  • Python 3.6
  • Pytorch
  • PIL

structure

vessel gan
│
├── eyedata  # drive data
│ 
├── gycutils # my utils for data augmentation
│ 
├── Criterion.py # generate and store precison,recall curve 
│ 
├── datasets.py # dataset for dataloader
│ 
├── gan.py # generative adversial network for vessel segmentation
│ 
├── train.py # train code
│
├── transform.py 
│
└── readme.md # introduce to this project

vessel-wgan-pytorch's People

Contributors

guyuchao avatar

Stargazers

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

Watchers

 avatar  avatar

vessel-wgan-pytorch's Issues

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.