Giter VIP home page Giter VIP logo

gleason's Introduction

PSPNet for MICCAI Automatic Prostate Gleason Grading Challenge 2019

This is the code for MICCAI Automatic Prostate Gleason Grading Challenge 2019. Check here and here, we took the 1st place of task 1: pixel-level Gleason grade prediction and task 2: core-level Gleason score prediction (leaderboard).

Task 1 is regarded as a segmentation task, and we use PSPNet for this. And for task 2, we do not train a different network, but just produce the prediction from the prediction of task 1 according to the Gleason grading system.

The train script is based on reference script from torchvision 0.4.0 with minor modification. So, you need to install the latest PyTorch and torchvision >= 0.4.0. Check requirements.txt for all packages you need.

This repo use GluonCV-Torch, thanks for Hang Zhang's outstanding work!

Preprocessing

Each image is annotated in detail by several expert pathologists. So how to use this annotations is important. We use STAPLE to create final annotations used in training. Check the preprocessing.py script for detail.

preprocessing

Training

PSPNet

To run the training, simply run python train.py, check python train_gleason.py --help for available args.

Inference

To run the inference, simply run python inference.py, check python inference.py --help for available args.

Note

I don't quite understand task2, and got it wrong when I participated this challenge. I would sincerely advise you read this paper, which is written by the organizers and submitted to JBHI, for more detail about this challenge. I would not update any codes in this repository anymore.

gleason's People

Contributors

hubutui avatar

Stargazers

Mohammed Rizin 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.