Skip to content

Commit 8be1f14

Browse files
committed
update wsl methods
update wsl methods
1 parent 6838198 commit 8be1f14

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

seg_wsl/ACDC/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ in_chns = 1
7272
feature_chns = [16, 32, 64, 128, 256]
7373
dropout = [0.0, 0.0, 0.0, 0.5, 0.5]
7474
bilinear = True
75-
deep_supervise= False
75+
multiscale_pred = False
7676
```
7777

7878
For training, we use the CrossEntropyLoss with pixel weighting (i.e., partial CE loss), and train the network by the `Adam` optimizer. The maximal iteration is 20k, and the training is early stopped if there is not performance improvement on the validation set for 8k iteratins. The learning rate scheduler is `ReduceLROnPlateau`. The corresponding configuration is:

seg_wsl/ACDC/config/unet2d_baseline.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ in_chns = 1
4242
feature_chns = [16, 32, 64, 128, 256]
4343
dropout = [0.0, 0.0, 0.0, 0.5, 0.5]
4444
bilinear = True
45-
deep_supervise= False
45+
multiscale_pred = False
4646

4747
[training]
4848
# list of gpus

seg_wsl/ACDC/config/unet2d_em.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ in_chns = 1
4242
feature_chns = [16, 32, 64, 128, 256]
4343
dropout = [0.0, 0.0, 0.0, 0.5, 0.5]
4444
bilinear = True
45-
deep_supervise= False
45+
multiscale_pred = False
4646

4747
[training]
4848
# list of gpus

seg_wsl/ACDC/config/unet2d_gcrf.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ in_chns = 1
4242
feature_chns = [16, 32, 64, 128, 256]
4343
dropout = [0.0, 0.0, 0.0, 0.5, 0.5]
4444
bilinear = True
45-
deep_supervise= False
45+
multiscale_pred = False
4646

4747
[training]
4848
# list of gpus

seg_wsl/ACDC/config/unet2d_mumford.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ in_chns = 1
4242
feature_chns = [16, 32, 64, 128, 256]
4343
dropout = [0.0, 0.0, 0.0, 0.5, 0.5]
4444
bilinear = True
45-
deep_supervise= False
45+
multiscale_pred = False
4646

4747
[training]
4848
# list of gpus

seg_wsl/ACDC/config/unet2d_tv.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ in_chns = 1
4242
feature_chns = [16, 32, 64, 128, 256]
4343
dropout = [0.0, 0.0, 0.0, 0.5, 0.5]
4444
bilinear = True
45-
deep_supervise= False
45+
multiscale_pred = False
4646

4747
[training]
4848
# list of gpus

seg_wsl/ACDC/config/unet2d_ustm.cfg

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ in_chns = 1
4242
feature_chns = [16, 32, 64, 128, 256]
4343
dropout = [0.0, 0.0, 0.0, 0.5, 0.5]
4444
bilinear = True
45-
deep_supervise= False
45+
multiscale_pred = False
4646

4747
[training]
4848
# list of gpus
@@ -59,16 +59,16 @@ weight_decay = 1e-5
5959
# for lr schedular
6060
lr_scheduler = ReduceLROnPlateau
6161
lr_gamma = 0.5
62-
ReduceLROnPlateau_patience = 2000
63-
early_stop_patience = 8000
62+
ReduceLROnPlateau_patience = 4000
63+
early_stop_patience = 10000
6464

6565
ckpt_save_dir = model/unet2d_ustm
6666

6767
# start iter
6868
iter_start = 0
69-
iter_max = 20000
69+
iter_max = 30000
7070
iter_valid = 100
71-
iter_save = [2000, 20000]
71+
iter_save = [2000, 30000]
7272

7373
[weakly_supervised_learning]
7474
wsl_method = USTM

0 commit comments

Comments
 (0)