Giter Club home page Giter Club logo

dcsau-net's Introduction

DCSAU-Net: A Deeper and More Compact Split-Attention U-Net for Medical Image Segmentation

News

2022.08.25: The DCSAU-Net model has been optimised. The paper will be updated later.

2022.09.27: The updated preprint has been available at arXiv.

2022.10.05: The method of calculating FLOPs, parameters and FPS has been uploaded.

2022.12.09: A requirements.txt for Linux environment has been uploaded.

2023.02.02: The article has been accepted and available in the journal: Computers in Biology and Medicine.

If you like our work, please ๐ŸŒŸ ๐ŸŒŸ ๐ŸŒŸ. We highly appreciate your effort and time. ๐Ÿ˜ ๐Ÿ˜ ๐Ÿ˜

Requirements

  1. pytorch==1.10.0
  2. pytorch-lightning==1.1.0
  3. albumentations==0.3.2
  4. seaborn
  5. sklearn

Dataset

To apply the model on a custom dataset, the data tree should be constructed as:

    โ”œโ”€โ”€ data
          โ”œโ”€โ”€ images
                โ”œโ”€โ”€ image_1.png
                โ”œโ”€โ”€ image_2.png
                โ”œโ”€โ”€ image_n.png
          โ”œโ”€โ”€ masks
                โ”œโ”€โ”€ image_1.png
                โ”œโ”€โ”€ image_2.png
                โ”œโ”€โ”€ image_n.png

CSV generation

python data_split_csv.py --dataset your/data/path --size 0.9 

Train

python train.py --dataset your/data/path --csvfile your/csv/path --loss dice --batch 16 --lr 0.001 --epoch 150 

Evaluation

python eval_binary.py --dataset your/data/path --csvfile your/csv/path --model save_models/epoch_last.pth --debug True

Acknowledgement

The codes are modified from ResNeSt, U-Net

dcsau-net's People

Contributors

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