Git Product home page Git Product logo

cgrnet's Introduction

CGRNet: Contour-Guided Graph Reasoning Network for Ambiguous Biomedical Image Segmentation

MIT License PRs Welcome

Authors: Kun Wang, Xiaohong Zhang, Yuting Lu, Xiangbo Zhang, Wei Zhang.

1.1. 🔥NEWS🔥 :

  • [2021/10/30]:fire: Release the inference code!
  • [2021/10/28] Create repository.

Prerequisites

Clone repository

git clone https://github.com/DLWK/CGRNet.git
cd CGRNet/

Download dataset

Download the datasets and unzip them into data folder

  • COVID-19
  • Download dataset from following URL
  • You can use our data/dataloader2.py to load the datasets.

Training & Evaluation

 cd CGRNet/
 python3 train.py
 ################
 python3 test.py
 

Demo

from  CGRmodes.CGR import  CGRNet
if __name__ == '__main__':
    ras =CGRNet(n_channels=3, n_classes=1).cuda()
    input_tensor = torch.randn(4, 3, 352, 352).cuda()
    out,out1 = ras(input_tensor)
    print(out.shape) 

2.1 Overview framework


2.2 Visualization Results



Citation

  • If you find this work is helpful, please cite our paper
@article{wang2022cgrnet,
  title={CGRNet: Contour-guided graph reasoning network for ambiguous biomedical image segmentation},
  author={Wang, Kun and Zhang, Xiaohong and Lu, Yuting and Zhang, Xiangbo and Zhang, Wei},
  journal={Biomedical Signal Processing and Control},
  volume={75},
  pages={103621},
  year={2022},
  publisher={Elsevier}

Tips

🔥If you have any questions about our work, please do not hesitate to contact us by emails. ⬆ back to top

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.