TAAL / data /src /Configs /train_config.json
introvoyz041's picture
Migrated from GitHub
fa4c845 verified
Raw
History Blame Contribute Delete
5.92 kB
{
"exp_name": "TTA-meanJSD50",
"debug": false,
"data": {
"dataset_name": "preprocessed_ACDC_256_train_normalized",
"num_items": "all",
"shape": "(256, 256)",
"downsample_size": "(128, 128)",
"patch": {
"patch_size": 0,
"selective": null
},
"augment": true,
"new_augmentations": false,
"augmentations": "['flip', 'rotation', 'gaussian_noise']",
"augmentation_params": {
"gaussian_noise": {
"mean": 0,
"std": 0.01
}
}
},
"training": {
"activate_plot": false,
"deterministic": true,
"log_every": 10,
"num_workers": 5,
"num_epochs": 75,
"num_batches_per_epoch": 250,
"max_num_labeled": 200,
"batch_size": 4,
"loss": "dice",
"scale_loss": false,
"normalize_fct": "softmax",
"two_steps_forward_prop": false,
"val_data": [
654,
114,
25,
281,
250,
228,
142,
104,
692,
558,
89,
604,
432,
32,
30,
95,
223,
238,
517,
616,
27,
574,
203,
733,
665,
718,
750,
429,
225,
459,
603,
284,
6,
163,
714,
747,
348,
728,
159,
220,
344,
752,
94,
389,
99,
367,
352,
618,
270,
44,
470,
549,
127,
387,
80,
565,
300,
643,
633,
370,
591,
196,
71,
46,
677,
233,
296,
81,
742,
103,
716,
722,
464,
650,
373,
166,
379,
363,
214,
273,
663,
73,
623,
686,
175,
546,
755,
167,
473,
388,
276,
655,
570,
224,
332,
57,
234,
746,
323,
410
],
"data_selection": {
"initial_budget": [
22,
31,
40,
54,
70,
98,
131,
151,
231,
255,
310,
329,
381,
437,
537,
557,
626,
671,
698,
292
],
"budget": 1,
"sampling_with_best_models": false,
"type": "CrossAugConsistency",
"CrossAugConsistency_unsup_loss_weight": 1.0,
"CrossAugConsistency_unsup_loss_weight_rampup": true,
"CrossAugConsistency_unsup_loss_weight_rampup_length": 10,
"CrossAugConsistency_unsup_data_augmented": true,
"CrossAugConsistency_unsup_loss_type": "JSD",
"CrossAugConsistency_num_augmentations": 3,
"CrossAugConsistency_new_augmentations": false,
"CrossAugConsistency_augmentation_list": "['flip', 'rotation', 'gaussian_noise']",
"CrossAugConsistency_augmentation_params": {
"gaussian_noise": {
"mean": 0,
"std": 0.01
}
},
"CrossAugConsistency_alpha_jsd": 0.5,
"sampling_type": "TestTimeAug_MeanJSD",
"sampling_augmentation_list": "['hflip', 'rot90', 'gaussian_noise']",
"sampling_augmentation_params": {
"num_augmentations": 8,
"gaussian_noise": {
"mean": 0,
"std": 0.01
}
},
"alpha_jsd": 0.5
},
"model": {
"model_name": "ModUNet2D",
"in_channels": 1,
"out_channels": 4,
"num_init_filters": 64,
"channel_list": [
64,
128,
256,
512
],
"structure": {
"dropout_rate": 0.5,
"conv_block": {
"normalization": "batch_norm",
"batch_norm_momentum": 0.1,
"activation_fct": "leakyReLU",
"kernal_size": 3,
"stride": 1,
"padding": 1
},
"pooling": {
"kernal_size": 2,
"stride": 2,
"padding": 0
},
"upconv": {
"kernal_size": 2,
"stride": 2,
"padding": 0
}
}
},
"optimizer": {
"optimizer_name": "Adam",
"init_lr": 1e-06,
"weight_decay": 0.0001,
"betas": [
0.9,
0.999
]
},
"scheduler": {
"sched_name": "CosineAnnealingLR",
"gradual_warmup": true,
"max_epoch": 75,
"warmup_max": 10,
"multiplier": 200,
"sched_early_stop_model_only": false
}
}
}