settings.ini 1.68 KB
Newer Older
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
1
[DATA]
2
data_directory = "../well/win-biobank/projects/imaging/data/data3/subjectsAll/"
3
data_split_flag = True
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
4
5
train_percentage = 90
validation_percentage = 5
6
7
8
9
10
11
12
train_list = "train.txt"
validation_list = "validation.txt"
test_list = "test.txt"
train_data_file = "dMRI/autoptx_preproc/tractsNormSummed.nii.gz"
train_output_targets = "fMRI/rfMRI_25.dr/dr_stage2.nii.gz"
validation_data_file = "dMRI/autoptx_preproc/tractsNormSummed.nii.gz"
validation_target_file = "fMRI/rfMRI_25.dr/dr_stage2.nii.gz"
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
13
14

[TRAINING]
15
16
training_batch_size = 2
validation_batch_size = 2
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
17
use_pre_trained = False
18
pre_trained_path = "saved_models/finetuned_alldata.pth.tar"
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
19
20
21
22
23
24
25
26
27
experiment_name = "experiment_name"
learning_rate = 1e-4
optimizer_beta = (0.9, 0.999)
optimizer_epsilon = 1e-8
optimizer_weigth_decay = 1e-5
number_of_epochs = 10
loss_log_period = 50
learning_rate_scheduler_step_size = 3
learning_rate_scheduler_gamma = 1e-1
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
28
use_last_checkpoint = False
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
29
30
31
32
33
final_model_output_file = "finetuned_alldata.pth.tar"

[NETWORK]
kernel_heigth = 5
kernel_width = 5
34
kernel_depth = 5
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
35
36
37
38
39
40
41
42
43
44
45
46
47
48
kernel_classification = 1
input_channels = 1
output_channels = 64
convolution_stride = 1
dropout = 0.2
pool_kernel_size = 2
pool_stride = 2
up_mode = "upconv"
number_of_classes = 1

[MISC]
save_model_directory = "saved_models"
model_name = "BrainMapper"
logs_directory = "logs"
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
49
device = 0
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
50
51
experiments_directory = "experiments"

52
[EVALUATION]
Andrei-Claudiu Roibu's avatar
Andrei-Claudiu Roibu committed
53
54
55
56
57
58
59
trained_model_path = "saved_models/model.pth.tar"
data_directory = "/well/win-biobank/projects/imaging/data/data3/subjectsAll/"
data_file = "/dMRI/autoptx_preproc/tractsNormSummed.nii.gz"
output_targets = "/fMRI/rfMRI_25.dr/dr_stage2.nii.gz"
data_list = "test.txt"
orientation = "coronal"
saved_predictions_directory = "predictions"
60