Coder Social home page Coder Social logo

sa-unet's Introduction

Overview

SA-UNet

This code is for the paper: Spatial Attention U-Net for Retinal Vessel Segmentation. We report state-of-the-art performances on DRIVE and CHASE DB1 datasets.

Code written by Changlu Guo, Budapest University of Technology and Economics(BME).

We train and evaluate on Ubuntu 16.04, it will also work for Windows and OS.

Datasets

Data augmentation:

  1. keras_dataAug.py
    (1) Random rotation;
    (2) adding Gaussian noise;
    (3) color jittering;
    2.flip.py
    (4) horizontal, vertical and diagonal flips.

if you do not want to do above augmentation,just download it from my link.

DRIVE CHASE_DB1

Quick start

Training

Run Train_drive.py or Train_chase.py

Testing

Run Eval_drive.py or Eval_chase.py

Environments

Keras 2.3.1
Tensorflow==1.14.0

About Keras

Keras is a minimalist, highly modular neural networks library, written in Python and capable of running on top of either TensorFlow or Theano. It was developed with a focus on enabling fast experimentation. Being able to go from idea to result with the least possible delay is key to doing good research.

Use Keras if you need a deep learning library that:

allows for easy and fast prototyping (through total modularity, minimalism, and extensibility). supports both convolutional networks and recurrent networks, as well as combinations of the two. supports arbitrary connectivity schemes (including multi-input and multi-output training). runs seamlessly on CPU and GPU. Read the documentation Keras.io

Keras is compatible with: Python 2.7-3.5.

If you are inspired by our work, please cite these papers.

Structured dropout convolutional block

@INPROCEEDINGS{8942005,
author={C. {Guo} and M. {Szemenyei} and Y. {Pei} and Y. {Yi} and W. {Zhou}},
booktitle={2019 IEEE 19th International Conference on Bioinformatics and Bioengineering (BIBE)},
title={SD-Unet: A Structured Dropout U-Net for Retinal Vessel Segmentation},
year={2019},
volume={},
number={},
pages={439-444},}

@article{Guo2020SAUNetSA,
title={SA-UNet: Spatial Attention U-Net for Retinal Vessel Segmentation},
author={Changlu Guo and Marton Szemenyei and Yugen Yi and Wenle Wang and Buer Chen and Changqi Fan},
journal={ArXiv},
year={2020},
volume={abs/2004.03696}
}

sa-unet's People

Contributors

clguo 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.