DagonDD / Pytorch-Medical-Segmentation

This repository is an unoffical PyTorch implementation of Medical segmentation in 3D and 2D.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pytorch Medical Segmentation

Read Chinese Introduction:Here!

Recent Updates

  • 2021.1.8 The train and test codes are released.

Requirements

  • pytorch1.7
  • python>=3.6

Notice

  • You can modify hparam.py to determine whether 2D or 3D segmentation and whether multicategorization is possible.
  • We provide algorithms for almost all 2D and 3D segmentation.
  • This repository is compatible with almost all medical data formats(e.g. nii.gz, nii, mhd, nrrd, ...), by modifying fold_arch in hparam.py of the config.

Training

  • without pretrained-model
python train.py
  • with pretrained-model
python train.py -k True

Inference

  • testing
python test.py

Examples

Done

By The Way

This project is not perfect and there are still many problems. If you are using this project and would like to give the author some feedback, you can send Kangneng Zhou an email.

Acknowledgements

This repository is an unoffical PyTorch implementation of Medical segmentation in 3D and 2D and highly based on MedicalZooPytorch and torchio.Thank you for the above repo. Thank you to Cheng Chen, Daiheng Gao, Jie Zhang and Xing Tao for all the help I received.

About

This repository is an unoffical PyTorch implementation of Medical segmentation in 3D and 2D.

License:MIT License


Languages

Language:Python 100.0%