Giter VIP home page Giter VIP logo

transnuseg's Introduction

TransNuSeg: A Lightweight Multi-Task Transformer for Nuclei Segmentation

This is the official implementation for TransNuSeg: A Lightweight Multi-Task Transformer for Nuclei Segmentation (MICCAI 2023). paper

Introduction

This paper proposes a lightweight multi-task framework for nuclei segmentation, namely TransNuSeg, as the first attempt at an entirely Swin-Transformer driven architecture. Innovatively, to alleviate the prediction inconsistency between branches, we propose a self-distillation loss that regulates the consistency between the nuclei decoder and normal edge decoder. And an innovative attention-sharing scheme that shares attention heads amongst all decoders is employed to leverage the high correlation between tasks.

The overall architecture is demonstrated in the figure below.

Dataset

In this paper, we test our model in Fluorescence Microscopy Image Dataset and Histology Image Dataset from ClusterSeg. It is available here

Quick Start

1, Download the datasets from the above link and put them under the data folder.

cd data
unzip histology.zip
unzip fluorescence.zip

2, Modify the hyperparameters, alpha, beta, gamma and sharing_ratio in main.sh or use the default value

3, Run main.sh to the model

sh main.sh

Two folders named log and saved will be automatically created to store logging information and the trained model.

Environment

The code is developed on one NVIDIA RTX 3090 GPU with 24 GB memory and tested in Python 3.8.10 and PyTorch 1.13.1.

How to cite

You may cite us as

@InProceedings{transnuseg,
    author="He, Zhenqi
    and Unberath, Mathias
    and Ke, Jing
    and Shen, Yiqing",
    title="TransNuSeg: A Lightweight Multi-task Transformer for Nuclei Segmentation",
    booktitle="Medical Image Computing and Computer Assisted Intervention -- MICCAI",
    year="2023",
    pages="206--215",
    isbn="978-3-031-43901-8"
}

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.