-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json
More file actions
151 lines (151 loc) · 5.03 KB
/
Copy pathconfig.json
File metadata and controls
151 lines (151 loc) · 5.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"activation": "default",
"allow_empty_patches": true,
"allow_partial_patches": false,
"append_data": false,
"apply_count_weights": true,
"apply_edge_weights": false,
"area_name": "5c",
"auto_resample": true,
"backbone": "resnet50",
"backbone_warmup": 0,
"band_sequence": [
0,
1,
2,
3
],
"batch_size": 8,
"batch_size_val": 32,
"blur": false,
"blur_final": false,
"checkpoint_per_epoch": 100,
"config_file": "../config.json",
"data_date": "20240430",
"data_dir": "../training_dataset/5c_20240717",
"dataset_split_by": "areas",
"edge_threshold_percent": 0.2,
"edge_threshold_pixel": 3,
"edge_weight": 10,
"epochs": 500,
"evaluate_datasets": "val,test",
"extract_images_for_areas": false,
"final_skip": true,
"fuse_in": false,
"fuse_interval": 3,
"fuse_mi": 3,
"fuse_mx": 11,
"fuse_out": false,
"image_srcs": {
"germany20cm_2022": {
"base_path": "/mnt/raid5/DL_TreeHealth_Aerial/Germany/Ortho2022_germany",
"image_file_type": ".tif",
"image_file_prefix": "",
"image_file_postfix": "",
"filelist_path": "/mnt/raid5/DL_TreeHealth_Aerial/Merged/processed_dir/20240405_256_autoSplit_withFin_res_ha_samplerInfo/fp_list_DE.txt"
},
"california60cm_2020": {
"base_path": "/mnt/ssd0/NAIP/intersect_ads2020",
"image_file_type": ".tif",
"image_file_prefix": "",
"image_file_postfix": "",
"filelist_path": "/mnt/raid5/DL_TreeHealth_Aerial/Merged/processed_dir/20240405_256_autoSplit_withFin_res_ha_samplerInfo/fp_list_CA.txt"
},
"swiss20cm_2022": {
"base_path": "/mnt/raid5/DL_TreeHealth_Aerial/Switzerland/rgbi_norm_clip",
"image_file_type": ".tif",
"image_file_prefix": "",
"image_file_postfix": "",
"filelist_path": "/mnt/raid5/DL_TreeHealth_Aerial/Merged/processed_dir/20240405_256_autoSplit_withFin_res_ha_samplerInfo/fp_list_CH.txt"
},
"spain25cm_2022": {
"base_path": "/mnt/raid5/DL_TreeHealth_Aerial/Spain_additional/pseudo_NIR_zeros",
"image_file_type": ".tif",
"image_file_prefix": "",
"image_file_postfix": "",
"filelist_path": "/mnt/raid5/DL_TreeHealth_Aerial/Merged/processed_dir/20240405_256_autoSplit_withFin_res_ha_samplerInfo/fp_list_ES.txt"
},
"finland40cm_2021": {
"base_path": "/mnt/raid5/DL_TreeHealth_Aerial/Finland/images/vnir_epsg32635_40cm",
"image_file_type": ".jp2",
"image_file_prefix": "",
"image_file_postfix": "",
"filelist_path": "/mnt/raid5/DL_TreeHealth_Aerial/Merged/processed_dir/20240405_256_autoSplit_withFin_res_ha_samplerInfo/fp_list_FI.txt"
}
},
"imgaug_date": "20240430",
"in_channels": 3,
"initial_stride": 1,
"job_name": "nn_train",
"labeled_areas_file": "labeled_areas_buffered.shp",
"load": null,
"log_dir": "../logs_DeLfoRS",
"log_stdout": true,
"loss_density_weight": 0.025,
"loss_energy_weight": 1,
"loss_function": "tversky46_g2",
"loss_function_density": "smoothl1",
"loss_function_energy": "tversky_g2",
"loss_function_sobel": "smoothl1",
"loss_sobel_weight": 0.1,
"lr": 3e-05,
"lr_scheduler": "none",
"lr_scheduler_warmup": 1,
"max_value": 255,
"merge_mode": "keep_biggest",
"model_type": "pretrained_with_scalar",
"model_version": "v0",
"multi_devices": null,
"n_classes": 1,
"n_edge_removal": 0,
"n_energy_bins": 5,
"n_grad_accumulation": 1,
"nir_drop_chance": 0.0,
"norm": "",
"norm_type_down": "bn",
"norm_type_up": "bn",
"normalize": true,
"normalize_by_dataset": false,
"normalize_by_imagenet": true,
"num_workers": 32,
"opt_eps": 1e-08,
"ordinal_connect": true,
"out_prediction_folder": "predictions",
"patch_size": 256,
"pipeline_test": false,
"pretrained_ckpt": null,
"processed_dir": "../processed_dir/processed_3bands",
"project_crs": "EPSG:4326",
"pyramid_level": 1,
"rasterize_all_touched": true,
"reference_source": "germany20cm_2022",
"report_folder": "reports",
"rescale": true,
"reset_head": true,
"run_dir_suffix": "process",
"save_idf": true,
"save_labeled_areas_df": false,
"save_out_rasters": false,
"save_patch_df": true,
"save_samples": true,
"scaler_weights": null,
"seed": 42,
"self_attention": false,
"sequential_stride": 256,
"small_object_threshold": null,
"split_col": "dataset_sp",
"target_classes": null,
"target_col": null,
"target_features_file": "target_features.shp",
"test_split": 0.1,
"train_date": "20240430",
"upsampling": "nearest",
"use_augmentation": true,
"val_metric": "loss_energy/val",
"val_metric_opt": "min",
"val_split": 0.1,
"verbose_logging": true,
"warmup": 0,
"weighted_sampling": true,
"year_col": null,
}