inference script is added

This commit is contained in:
vahidrezanezhad 2024-05-07 13:34:03 +02:00
parent 38db3e9289
commit 8d1050ec30
4 changed files with 537 additions and 42 deletions

View file

@ -1,12 +1,12 @@
{
"model_name" : "resnet50_unet",
"task": "enhancement",
"n_classes" : 3,
"n_epochs" : 3,
"backbone_type" : "nontransformer",
"task": "classification",
"n_classes" : 2,
"n_epochs" : 20,
"input_height" : 448,
"input_width" : 448,
"weight_decay" : 1e-6,
"n_batch" : 3,
"n_batch" : 6,
"learning_rate": 1e-4,
"f1_threshold_classification": 0.8,
"patches" : true,
@ -21,7 +21,7 @@
"scaling_flip" : false,
"rotation": false,
"rotation_not_90": false,
"num_patches_xy": [28, 28],
"transformer_num_patches_xy": [28, 28],
"transformer_patchsize": 1,
"blur_k" : ["blur","guass","median"],
"scales" : [0.6, 0.7, 0.8, 0.9, 1.1, 1.2, 1.4],
@ -29,13 +29,14 @@
"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": "./training_data_sample_enhancement",
"dir_train": "./train",
"dir_eval": "./eval",
"dir_output": "./out"
"dir_output": "./output"
}