-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfer_config.yml
35 lines (26 loc) · 1.11 KB
/
infer_config.yml
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
# configures the tile used
tile_id: '13TDE'
# configures the satellite used
satellite: 'sentinel2' # 'sentinel2' or 'landsat8'
# if you wish to run the pipeline for hand selected dates
# you can specify them here (using yml array syntax)
dates: [ ]
inference:
# if set to 0, the inference is skipped
enable_inference: 1 # 0 or 1
# model name, if left empty the default model will be used (unet.pth)
model_file_name: 'unet_a82e3cd_ep30.pth' # 'unet_1c88144_e40.pth'
# limits number of patches to be processed, if set to 0, all patches will be processed
# this is helpful to debug the pipeline, for production this should be set to 0
limit_patches: 0
# use all rotations
# if enabled, the model will be run on all rotations of the patches
# and the results will be averaged, this improves the accuracy of the model
# --> see final report
use_all_rotations: 1
save_raw_predictions: 0 # save raw predictions as float16 jp2 images
save_raw_thresholded: 0 # save raw predictions as uint8 jp2 images
# save TCI and FCI for processed s2 dates
save_RGB_jp2_images: 1
save_data_coverage: 1
save_mask: 0