transformer patch size is dynamic now.
parent
2aa216e388
commit
f1fd74c7eb
@ -1,42 +1,44 @@
|
||||
{
|
||||
"backbone_type" : "nontransformer",
|
||||
"task": "classification",
|
||||
"backbone_type" : "transformer",
|
||||
"task": "binarization",
|
||||
"n_classes" : 2,
|
||||
"n_epochs" : 20,
|
||||
"input_height" : 448,
|
||||
"input_width" : 448,
|
||||
"n_epochs" : 1,
|
||||
"input_height" : 224,
|
||||
"input_width" : 672,
|
||||
"weight_decay" : 1e-6,
|
||||
"n_batch" : 6,
|
||||
"n_batch" : 1,
|
||||
"learning_rate": 1e-4,
|
||||
"f1_threshold_classification": 0.8,
|
||||
"patches" : true,
|
||||
"pretraining" : true,
|
||||
"augmentation" : false,
|
||||
"flip_aug" : false,
|
||||
"blur_aug" : false,
|
||||
"scaling" : true,
|
||||
"degrading": false,
|
||||
"brightening": false,
|
||||
"binarization" : false,
|
||||
"scaling_bluring" : false,
|
||||
"scaling_binarization" : false,
|
||||
"scaling_flip" : false,
|
||||
"rotation": false,
|
||||
"rotation_not_90": false,
|
||||
"transformer_num_patches_xy": [28, 28],
|
||||
"transformer_patchsize": 1,
|
||||
"transformer_num_patches_xy": [7, 7],
|
||||
"transformer_patchsize_x": 3,
|
||||
"transformer_patchsize_y": 1,
|
||||
"transformer_projection_dim": 192,
|
||||
"blur_k" : ["blur","guass","median"],
|
||||
"scales" : [0.6, 0.7, 0.8, 0.9, 1.1, 1.2, 1.4],
|
||||
"brightness" : [1.3, 1.5, 1.7, 2],
|
||||
"degrade_scales" : [0.2, 0.4],
|
||||
"flip_index" : [0, 1, -1],
|
||||
"thetha" : [10, -10],
|
||||
"classification_classes_name" : {"0":"apple", "1":"orange"},
|
||||
"continue_training": false,
|
||||
"index_start" : 0,
|
||||
"dir_of_start_model" : " ",
|
||||
"weighted_loss": false,
|
||||
"is_loss_soft_dice": false,
|
||||
"data_is_provided": false,
|
||||
"dir_train": "./train",
|
||||
"dir_eval": "./eval",
|
||||
"dir_output": "./output"
|
||||
"dir_train": "/home/vahid/Documents/test/training_data_sample_binarization",
|
||||
"dir_eval": "/home/vahid/Documents/test/eval",
|
||||
"dir_output": "/home/vahid/Documents/test/out"
|
||||
}
|
||||
|
Loading…
Reference in New Issue