diff --git a/KAIR/options/optuna_options.json b/KAIR/options/optuna_options.json index e9c9686..9ac1446 100644 --- a/KAIR/options/optuna_options.json +++ b/KAIR/options/optuna_options.json @@ -27,8 +27,8 @@ "train": { "name": "train_dataset" // just name , "dataset_type": "ffdnet" // "dncnn" | "dnpatch" for dncnn, | "fdncnn" | "ffdnet" | "sr" | "srmd" | "dpsr" | "plain" | "plainpatch" - , "dataroot_H": "trainsets/ground-truth" // path of H training dataset - , "dataroot_L": "trainsets/simulations" // path of L training dataset, if using noisy H type: null + , "dataroot_H": "path/to/train_original" // path of H training dataset + , "dataroot_L": "path/to/train_degraded" // path of L training dataset, if using noisy H type: null , "sigma": [0, 20] // 15, 25, 50 for DnCNN | [0, 75] for FFDNet and FDnCNN , "num_patches_per_image": 21 // number of random patches of training image , "H_size": 256 // patch size 40 | 64 | 96 | 128 | 192 @@ -39,8 +39,8 @@ , "test": { "name": "test_dataset" // just name , "dataset_type": "ffdnet" // "dncnn" | "dnpatch" for dncnn, | "fdncnn" | "ffdnet" | "sr" | "srmd" | "dpsr" | "plain" | "plainpatch" - , "dataroot_H": "valsets/ground-truth" // path of H testing dataset - , "dataroot_L": "valsets/simulations" // path of L testing dataset + , "dataroot_H": "path/to/val_original" // path of H testing dataset + , "dataroot_L": "path/to/val_degraded" // path of L testing dataset , "sigma_test": 15 // 15, 25, 50 for DnCNN and ffdnet } } diff --git a/KAIR/options/tempest_simulation.json b/KAIR/options/tempest_simulation.json index 7f15699..f7e1939 100644 --- a/KAIR/options/tempest_simulation.json +++ b/KAIR/options/tempest_simulation.json @@ -1,9 +1,9 @@ { "paths": { - "folder_original_images": "web_imgs_tmp/test", + "folder_original_images": "path/to/folder", "__comment1__": "Insert input folder (original images)", - "folder_simulated_images": "testsets/simulations", + "folder_simulated_images": "path/to/new_folder", "__comment2__": "Insert output folder (tempest degraded images)" }, diff --git a/KAIR/options/test_drunet.json b/KAIR/options/test_drunet.json index 2f3e806..6921521 100644 --- a/KAIR/options/test_drunet.json +++ b/KAIR/options/test_drunet.json @@ -9,7 +9,7 @@ , "path": { "root": "drunet_inference" // "denoising" | "superresolution" - , "pretrained_netG": "denoising/drunet/models/70_G.pth" // path of pretrained model, if model from scratch type: null + , "pretrained_netG": "path/to/model" // path of pretrained model, if model from scratch type: null } , "datasets": { @@ -28,8 +28,8 @@ , "test": { "name": "test_dataset" // just name , "dataset_type": "ffdnet" // "dncnn" | "dnpatch" for dncnn, | "fdncnn" | "ffdnet" | "sr" | "srmd" | "dpsr" | "plain" | "plainpatch" - , "dataroot_H": "trainsets/ground-truth" // path of H testing dataset - , "dataroot_L": "trainsets/simulations" // path of L testing dataset + , "dataroot_H": "web_subset/capturas_splitter" // path of H testing dataset + , "dataroot_L": "web_subset/capturas_splitter" // path of L testing dataset , "sigma_test": 0 // 15, 25, 50 for DnCNN and ffdnet } } diff --git a/KAIR/options/train_drunet.json b/KAIR/options/train_drunet.json index c78d175..e887eb8 100644 --- a/KAIR/options/train_drunet.json +++ b/KAIR/options/train_drunet.json @@ -8,16 +8,16 @@ , "n_channels_datasetload": 3 // broadcast to image training set , "path": { - "root": "denoising" // "denoising" | "superresolution" - , "pretrained_netG": "denoising/drunet/models/170_G.pth" // path of pretrained model, if model from scratch type: null + "root": "drunet_training" // "denoising" | "superresolution" + , "pretrained_netG": "path/to/model" // path of pretrained model, if model from scratch type: null } , "datasets": { "train": { "name": "train_dataset" // just name , "dataset_type": "ffdnet" // "dncnn" | "dnpatch" for dncnn, | "fdncnn" | "ffdnet" | "sr" | "srmd" | "dpsr" | "plain" | "plainpatch" - , "dataroot_H": "train_val/ground-truth"// path of H training dataset - , "dataroot_L": "train_val/simulations" // path of L training dataset, if using noisy H type: null + , "dataroot_H": "path/to/train_original"// path of H training dataset + , "dataroot_L": "path/to/train_degraded" // path of L training dataset, if using noisy H type: null , "sigma": [0, 20] // 15, 25, 50 for DnCNN | [0, 75] for FFDNet and FDnCNN , "use_all_patches": true // use or not all image patches , "skip_natural_patches": false// keep only non-natural image patches/text based image patches @@ -30,8 +30,8 @@ , "test": { "name": "test_dataset" // just name , "dataset_type": "ffdnet" // "dncnn" | "dnpatch" for dncnn, | "fdncnn" | "ffdnet" | "sr" | "srmd" | "dpsr" | "plain" | "plainpatch" - , "dataroot_H": null // path of H testing dataset - , "dataroot_L": null // path of L testing dataset + , "dataroot_H": "path/to/val_original" // path of H testing dataset + , "dataroot_L": "path/to/val_degraded" // path of L testing dataset , "sigma_test": 15 // 15, 25, 50 for DnCNN and ffdnet } } diff --git a/KAIR/options/train_drunet_finetuning.json b/KAIR/options/train_drunet_finetuning.json index 218f74b..66e236f 100644 --- a/KAIR/options/train_drunet_finetuning.json +++ b/KAIR/options/train_drunet_finetuning.json @@ -8,15 +8,15 @@ , "n_channels_datasetload": 3 // broadcast to image training set , "path": { - "root": "max_entropy_thrs_test" // "finetuning_{border, middle}" - , "pretrained_netG": "finetuning_down2_down3_up3_up2/drunet/models/100_G.pth" // path of pretrained model, if model from scratch type: null + "root": "finetuning" // "finetuning_{border, middle}" + , "pretrained_netG": "path/to/model" // path of pretrained model, if model from scratch type: null } , "datasets": { "train": { "name": "train_dataset" // just name , "dataset_type": "drunet_finetune" // "dncnn" | "dnpatch" for dncnn, | "fdncnn" | "ffdnet" | "sr" | "srmd" | "dpsr" | "plain" | "plainpatch" - , "dataroot_H": null // path of H training dataset + , "dataroot_H": "path/to/train_original" // path of H training dataset , "dataroot_L": null // path of L training dataset, not used for finetuning , "sigma": [0, 0] // 15, 25, 50 for DnCNN | [0, 75] for FFDNet and FDnCNN , "use_all_patches": true // use or not all image patches @@ -30,7 +30,7 @@ , "test": { "name": "test_dataset" // just name , "dataset_type": "drunet_finetune" // "drunet" | "drunet_finetune" | "dncnn" | "dnpatch" for dncnn, | "fdncnn" | "ffdnet" | "sr" | "srmd" | "dpsr" | "plain" | "plainpatch" - , "dataroot_H": "finetuning_images/test" // path of H testing dataset + , "dataroot_H": "path/to/val_original" // path of H testing dataset , "dataroot_L": null // path of L testing dataset, not used for finetuning , "sigma_test": 0 // 15, 25, 50 for DnCNN and ffdnet }