Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

Requirements

  • pytorch>=1.0
  • tensorboardX
  • scikit-image
  • scipy
  • tqdm

Note: the code has been tested on ubuntu. I'm not sure whether it works on windows.

V-Net with different loss functions

V-Net Training

  • LA Heart MRI dataset: run python train_LA.py
  • Liver tumor CT dataset: run python train_LITS.py

V-Net with boundary loss

  • LA Heart MRI dataset: run python train_LA_BD.py
  • Liver tumor CT dataset: run python train_LITS_BD.py

You need to set --exp properly. Both compute_sdf and compute_sdf1_1 are worth to try.

V-Net with hausdorff distance loss

  • LA Heart MRI dataset: run python train_LA_HD.py
  • Liver tumor CT dataset: run python train_LITS_HD.py

You need to set --exp properly. Both compute_dtm and compute_dtm01 are worth to try.

Testing

  • LA heart MRI dataset: run python test_LA.py
  • Liver tumor CT dataset: run python test_LITS.py

Xue et al. Shape-Aware Organ Segmentation by Predicting Signed Distance Maps arxiv

Training

  • run python train_LA_AAAISDF.py
  • run python train_LA_AAAISDF_L1.py

Testing

  • run test_LA_AAAISDF.py

V-Net with additional heads

Wang et al. Deep Distance Transform for Tubular Structure Segmentation in CT Scans arxiv

Navarro et al. Shape-Aware Complementary-Task Learning for Multi-organ Segmentation arxiv

Training

  • run python train_LA_MultiHead_FGDTM_L1.py to regress foreground distance transform map

L1 can be replaced with L2 or L1PlusL2

  • run python train_LA_MultiHead_SDF_L1.py to regress signed distance function

L1 can be replaced with L2 or L1PlusL2

Testing

  • run test_LA_MultiHead_FGDTM.py
  • run test_LA_MultiHead_SDF.py

V-Net with additional reconstruction branch

Training

  • run python train_LA_Rec_FGDTM_L1.py to regress foreground distance transform map

L1 can be replaced with L2 or L1PlusL2

  • run python train_LA_Rec_SDF_L1.py to regress signed distance function

L1 can be replaced with L2 or L1PlusL2

Testing

  • run test_LA_Rec_FGDTM.py
  • run test_LA_Rec_SDF.py

Tips

  • --model can be used to specificy the model name
  • --epoch_num can be used to specificy the checkpoint
Morty Proxy This is a proxified and sanitized view of the page, visit original site.