mirror of
https://github.com/qurator-spk/sbb_pixelwise_segmentation.git
synced 2025-06-09 20:00:05 +02:00
inference script is added
This commit is contained in:
parent
38db3e9289
commit
8d1050ec30
4 changed files with 537 additions and 42 deletions
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue