GithubHelp home page GithubHelp logo

layer_segmentation's Introduction

layer_segmentation

This project consists of a collection of CNN-based and Transformer-based models for comparison experiments in layer segmentation programs.

  • Incorporating cross-species homologous data for collaborative training can enhance the performance of models in segmenting the cortex and medulla in human kidney histopathology images.

dice_iou

  1. To train CNN-based models, including UNet, PSPNet, and Deeplab-v3+:
CUDA_VISIBLE_DEVICES=0 python train.py

To validate and get IoU and Dice score, change the path of weight and run:

python predict_img.py
python get_metrics.py
  1. To train Transformer-based models, including TransUNet and Swin-UNet:
CUDA_VISIBLE_DEVICES=0 python train.py --root_path '' --num_classes 5 --img_size 1024

To validate and get IoU and Dice score, change the path of weight and run:

python predict_img.py
python get_metrics.py

seg_result

By utilizing external homologous data, the models have become better at perceiving edge textures, performing better in more precise localization of kidney layer boundaries.

layer_segmentation's People

Contributors

junchao-zhu avatar hrlblab avatar

Stargazers

cgnerds avatar

Watchers

 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.