{ "command": "train", "gpu_ids": [0], "path_output": "HeMIS", "model_name": "seg_tumor_t2_t1", "debugging": false, "wandb": { "wandb_api_key": "", "project_name": "my_project", "group_name": "my_group", "run_name": "run-1", "log_grads_every": 100 }, "loader_parameters": { "path_data": ["data_example_spinegeneric"], "target_suffix": ["_seg"], "extensions": [".nii.gz"], "roi_params": { "suffix": null, "slice_filter_roi": null }, "contrast_params": { "training_validation": ["T2w", "T1w"], "testing": ["T2w", "T1w"], "balance": {} }, "slice_filter_params": { "filter_empty_mask": true, "filter_empty_input": true }, "slice_axis": "sagittal", "multichannel": false, "soft_gt": false }, "split_dataset": { "fname_split": null, "random_seed": 6, "split_method" : "participant_id", "data_testing": {"data_type": null, "data_value":[]}, "balance": null, "train_fraction": 0.6, "test_fraction": 0.2 }, "training_parameters": { "batch_size": 64, "loss": { "name": "DiceLoss" }, "training_time": { "num_epochs": 100, "early_stopping_patience": 50, "early_stopping_epsilon": 0.001 }, "scheduler": { "initial_lr": 0.001, "lr_scheduler": { "name": "CosineAnnealingLR", "base_lr": 1e-5, "max_lr": 1e-2 } }, "balance_samples": false, "mixup_alpha": null, "transfer_learning": { "retrain_model": null, "retrain_fraction": 1.0, "reset": true } }, "default_model": { "name": "Unet", "dropout_rate": 0.3, "bn_momentum": 0.9, "depth": 2 }, "HeMISUnet": { "name": "HeMISUnet", "applied": true, "missing_probability": 0.00001, "missing_probability_growth": 0.9, "contrasts": ["T1w", "T2w"], "ram": true, "path_hdf5": "HeMIS.hdf5", "csv_path": "HeMIS.csv", "target_lst": ["T2w"], "roi_lst": null }, "UNet3D": { "applied": false, "length_3D": [256, 128, 16], "padding_3D": 0, "attention": false, "n_filters": 1 }, "uncertainty": { "epistemic": false, "aleatoric": false, "n_it": 0 }, "postprocessing": { "remove_noise": {"thr": -1}, "binarize_prediction": {"thr": 0.5}, "remove_small": {"unit": "vox", "thr": 3}, "uncertainty": {"thr": -1, "suffix": "_unc-vox.nii.gz"} }, "evaluation_parameters": { "target_size": {"unit": "vox", "thr": [20, 100]}, "overlap": {"unit": "vox", "thr": 3} }, "transformation": { "Resample": { "hspace": 0.75, "wspace": 0.75, "dspace": 1 }, "CenterCrop": { "size": [128, 128] }, "RandomAffine": { "translate": [0.03, 0.03], "applied_to": ["im", "gt"], "dataset_type": ["training"] }, "NormalizeInstance": {"applied_to": ["im"]} } }