Skip to content

Commit 9068c24

Browse files
committed
update evaluation
update evaluation
1 parent ca543db commit 9068c24

13 files changed

Lines changed: 18 additions & 18 deletions

File tree

seg_nll/JSRT/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ pymic_run test config/unet_dast.cfg
128128
Use `pymic_eval_seg config/evaluation.cfg` for quantitative evaluation of the segmentation results. You need to edit `config/evaluation.cfg` first, for example:
129129

130130
```bash
131-
metric = dice
131+
metric_list = [dice, assd]
132132
label_list = [255]
133133
organ_name = lung
134134

seg_nll/JSRT/config/evaluation.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[evaluation]
2-
metric = dice
2+
metric_list = [dice, assd]
33
label_list = [255]
44
organ_name = lung
55

66
ground_truth_folder_root = ../../PyMIC_data/JSRT
7-
segmentation_folder_root = result/unet_ce
7+
segmentation_folder_root = result/unet_dast
88
evaluation_image_pair = config/data/jsrt_test_gt_seg.csv
99

1010

seg_ssl/ACDC/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ pymic_ssl test config/unet2d_cps.cfg
265265
Use `pymic_eval_seg config/evaluation.cfg` for quantitative evaluation of the segmentation results. You need to edit `config/evaluation.cfg` first, for example:
266266

267267
```bash
268-
metric = dice
268+
metric_list = [dice, hd95]
269269
label_list = [1,2,3]
270270
organ_name = heart
271271
ground_truth_folder_root = ../../PyMIC_data/ACDC/preprocess

seg_ssl/ACDC/config/evaluation.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[evaluation]
2-
metric = dice
2+
metric_list = [dice, hd95]
33
label_list = [1,2,3]
44
organ_name = heart
55

66
ground_truth_folder_root = ../../PyMIC_data/ACDC/preprocess
7-
segmentation_folder_root = result/unet2d_cps
7+
segmentation_folder_root = result/unet2d_urpc
88
evaluation_image_pair = config/data/image_test_gt_seg.csv
99

seg_wsl/ACDC/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ pymic_run test config/unet2d_dmpls.cfg
216216
Use `pymic_eval_seg config/evaluation.cfg` for quantitative evaluation of the segmentation results. You need to edit `config/evaluation.cfg` first, for example:
217217

218218
```bash
219-
metric = dice
219+
metric_list = [dice, hd95]
220220
label_list = [1,2,3]
221221
organ_name = heart
222222
ground_truth_folder_root = ../../PyMIC_data/ACDC/preprocess

seg_wsl/ACDC/config/evaluation.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[evaluation]
2-
metric = dice
2+
metric_list = [dice, hd95]
33
label_list = [1,2,3]
44
organ_name = heart
55

66
ground_truth_folder_root = ../../PyMIC_data/ACDC/preprocess
7-
segmentation_folder_root = ./result/unet2d_ms
7+
segmentation_folder_root = [./result/unet2d_baseline, ./result/unet2d_em, ./result/unet2d_tv, ./result/unet2d_gcrf, ./result/unet2d_ustm, ./result/unet2d_dmpls]
88
evaluation_image_pair = ./config/data/image_test_gt_seg.csv
99

segmentation/JSRT/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ pymic_run test config/unet.cfg
3737
pymic_eval_seg config/evaluation.cfg
3838
```
3939

40-
The obtained average Dice score by default setting should be close to 97.989%. If setting `ckpt_mode` to 1 during testing, the average Dice would be around 97.997%. You can set `metric = assd` in `config/evaluation.cfg` and run the evaluation command again to get average symmetric surface distance (assd) evaluation results.
40+
The obtained average Dice score by default setting should be close to 97.989%. If setting `ckpt_mode` to 1 during testing, the average Dice would be around 97.997%.

segmentation/JSRT/config/evaluation.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[evaluation]
2-
metric = dice
3-
label_list = [255]
4-
organ_name = lung
2+
metric_list = [dice, assd]
3+
label_list = [255]
4+
organ_name = lung
55

66
ground_truth_folder_root = ../../PyMIC_data/JSRT
77
segmentation_folder_root = result

segmentation/JSRT2/config/evaluation.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[evaluation]
2-
metric = dice
2+
metric_list = [dice, assd]
33
label_list = [255]
44
organ_name = lung
55

segmentation/fetal_hc/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ pymic_run test config/unet.cfg
3636
pymic_eval_seg config/evaluation.cfg
3737
```
3838

39-
The obtained average Dice score by default setting should be close to 97.07%. You can set `metric = assd` in `config/evaluation.cfg` and run the evaluation command again to get Average Symmetric Surface Distance (ASSD) evaluation results.
39+
The obtained average Dice score by default setting should be close to 97.07%. The Average Symmetric Surface Distance (ASSD) is also calculated.
4040

4141
3. Set `tta_mode = 1` in `config/unet.cfg` to enable test time augmentation, and run the testing and evaluation code again, we find that the average Dice will be increased to around 97.22%.

0 commit comments

Comments
 (0)