katielink commited on
Commit
371160f
·
1 Parent(s): 9dd5909

Push model card to HF Hub

Browse files
Files changed (1) hide show
  1. README.md +62 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - monai
4
+ license: apache-2.0
5
+ ---
6
+
7
+ # Description
8
+ A pre-trained model for volumetric (3D) segmentation of the spleen from CT image.
9
+
10
+ # Model Overview
11
+ This model is trained using the runner-up [1] awarded pipeline of the "Medical Segmentation Decathlon Challenge 2018" using the UNet architecture [2] with 32 training images and 9 validation images.
12
+
13
+ ## Data
14
+ The training dataset is Task09_Spleen.tar from http://medicaldecathlon.com/.
15
+
16
+ ## Training configuration
17
+ The training was performed with at least 12GB-memory GPUs.
18
+
19
+ Actual Model Input: 96 x 96 x 96
20
+
21
+ ## Input and output formats
22
+ Input: 1 channel CT image
23
+
24
+ Output: 2 channels: Label 1: spleen; Label 0: everything else
25
+
26
+ ## Scores
27
+ This model achieves the following Dice score on the validation data (our own split from the training dataset):
28
+
29
+ Mean Dice = 0.96
30
+
31
+ ## commands example
32
+ Execute training:
33
+
34
+ ```
35
+ python -m monai.bundle run training --meta_file configs/metadata.json --config_file configs/train.json --logging_file configs/logging.conf
36
+ ```
37
+
38
+ Override the `train` config to execute multi-GPU training:
39
+
40
+ ```
41
+ torchrun --standalone --nnodes=1 --nproc_per_node=2 -m monai.bundle run training --meta_file configs/metadata.json --config_file "['configs/train.json','configs/multi_gpu_train.json']" --logging_file configs/logging.conf
42
+ ```
43
+
44
+ Override the `train` config to execute evaluation with the trained model:
45
+
46
+ ```
47
+ python -m monai.bundle run evaluating --meta_file configs/metadata.json --config_file "['configs/train.json','configs/evaluate.json']" --logging_file configs/logging.conf
48
+ ```
49
+
50
+ Execute inference:
51
+
52
+ ```
53
+ python -m monai.bundle run evaluating --meta_file configs/metadata.json --config_file configs/inference.json --logging_file configs/logging.conf
54
+ ```
55
+
56
+ # Disclaimer
57
+ This is an example, not to be used for diagnostic purposes.
58
+
59
+ # References
60
+ [1] Xia, Yingda, et al. "3D Semi-Supervised Learning with Uncertainty-Aware Multi-View Co-Training." arXiv preprint arXiv:1811.12506 (2018). https://arxiv.org/abs/1811.12506.
61
+
62
+ [2] Kerfoot E., Clough J., Oksuz I., Lee J., King A.P., Schnabel J.A. (2019) Left-Ventricle Quantification Using Residual U-Net. In: Pop M. et al. (eds) Statistical Atlases and Computational Models of the Heart. Atrial Segmentation and LV Quantification Challenges. STACOM 2018. Lecture Notes in Computer Science, vol 11395. Springer, Cham. https://doi.org/10.1007/978-3-030-12029-0_40