Coder Social home page Coder Social logo

motikadosh / mtl-segthor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gregoryperkins/mtl-segthor

0.0 0.0 1.0 48 KB

Dependent Multi-Task Learning for the Segmentation of Thoracic Organs at Risk in CT Images

Python 68.69% Jupyter Notebook 27.99% Shell 3.31%

mtl-segthor's Introduction

MTL-SegTHOR

Dependent Multi-Task Learning for the Segmentation of Thoracic Organs at Risk in CT Images

author: Tao He

Institution: Sichuan University

email: [email protected]

Tookit need Python 3, pytorch 1.1.0

Prepare SegTHOR dataset

reading preprocessing.ipynb in details

the source data download from https://ent.normandie-univ.fr/filex/get?k=oZgYIeT5lnbxhtHZ2u8
or download from my Baidu Netdisk https://pan.baidu.com/s/1dQHYKIkUd5qCXIvdxSijNg; password: i41q
The data path organized like:
../data/data_source/Patient_01/GT.nii
../data/data_source/Patient_01/Patient_01.nii
Then, using preprocessing.ipynb to process the SegTHOR dataset for 4-fold cross-validation

Network training

See main.py parser.argument in details

A test run is like this
python3 main.py -b 16 --gpu 0,1,2,3 --model_name ResUNet101 --save_dir SavePath/SM --lr 0.01 --if_dependent 0 --if_closs 0

Important parameters:

  • model_name -> indicate which encoder network is used. Please check models/model_loader.py in details.
  • if_closs -> if using the classification loss (MTL). if_closs=0, MTL is not deployed.
  • if_dependent -> if using the WMCE loss function. if_dependent=0, binary relevance with BCE loss functions is used.

Network testing

See prediction.ipynb in details

Please don't hesitate to contact me if you have any question about the data, method, or code !

mtl-segthor's People

Contributors

ithet1007 avatar

Forkers

thisgame42

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.