Add configs_train folder
Browse filesFiles changed (4)
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465modalities:
inputs:
AERIAL_RGBI : False
AERIAL-RLT_PAN : False
DEM_ELEV : False
SPOT_RGBI : False
SENTINEL2_TS : True
SENTINEL1-ASC_TS : False
SENTINEL1-DESC_TS : False
inputs_channels:
AERIAL_RGBI :
SPOT_RGBI :
SENTINEL2_TS : [1,2,3,4,5,6,7,8,9,10]
SENTINEL1-ASC_TS :
SENTINEL1-DESC_TS :
aux_loss:
AERIAL_RGBI : False
AERIAL-RLT_PAN : False
DEM_ELEV : False
SPOT_RGBI : False
SENTINEL2_TS : False
SENTINEL1-ASC_TS : False
SENTINEL1-DESC_TS : False
aux_loss_weight: 1 # multiplier before adding to main loss
modality_dropout: # between 0 (no dropout) and 1 (complete systematic dropout)
AERIAL_RGBI : 0
AERIAL-RLT_PAN : 0
DEM_ELEV : 0
SPOT_RGBI : 0
SENTINEL2_TS : 0
SENTINEL1-ASC_TS : 0
SENTINEL1-DESC_TS : 0
pre_processings:
filter_sentinel2: True
filter_sentinel2_max_cloud : 1 # [0-100]
filter_sentinel2_max_snow : 1 # [0-100]
filter_sentinel2_max_frac_cover : 0.05 # [0-1]
temporal_average_sentinel2 : False # possible : False, monthly, semi-monthly
temporal_average_sentinel1 : False
calc_elevation : True
calc_elevation_stack_dsm : True
use_augmentation: False
normalization:
norm_type : custom # possible : custom, scaling, without
AERIAL_RGBI_means : [106.59, 105.66, 111.35]
AERIAL_RGBI_stds : [39.78, 52.23, 45.62]
AERIAL-RLT_PAN_means : [125.92]
AERIAL-RLT_PAN_stds : [38.45]
SPOT_RGBI_means : [1137.03, 433.26, 508.75]
SPOT_RGBI_stds : [543.11, 312.76, 284.61]
DEM_ELEV_means : [311.06, 311.06] # use same for both DSM/DTM to allow keeping differences of elevation
DEM_ELEV_stds : [537.55, 537.55] # use same for both DSM/DTM to allow keeping differences of elevation1234567891011121314151617181920212223models:
monotemp_model: # encoder-decoder from SMP
arch:
new_channels_init_mode:
multitemp_model:
ref_date: '05-15' # defined for whole dataset
encoder_widths: [64, 64, 64, 128] # last must be equivalent to decoder_widths
decoder_widths: [32, 32, 64, 128] # last must be equivalent to encoder_widths
out_conv: [32, 19]
str_conv_k: 3
str_conv_s: 1
str_conv_p: 1
agg_mode: "att_group"
encoder_norm: "group"
n_head: 16
d_model: 256
d_k: 4
pad_value: 0
padding_mode: "reflect"12345678910111213141516171819202122232425262728293031323334353637labels:
- ALL_LABEL-LPIS
labels_configs:
ALL_LABEL-LPIS:
task_weight: 1
label_channel_nomenclature: 1
value_name:
0 : 'grasses'
1 : 'wheat'
2 : 'barley'
3 : 'maize'
4 : 'other cereals'
5 : 'rice'
6 : 'flax/hemp/tobacco'
7 : 'sunflower'
8 : 'rapeseed'
9 : 'other oilseed crops'
10 : 'soy'
11 : 'other protein crops'
12 : 'fodder legumes'
13 : 'beetroots'
14 : 'potatoes'
15 : 'other arable crops'
16 : 'vineyard'
17 : 'olive groves'
18 : 'fruits orchards'
19 : 'nut orchards'
20 : 'other permanent crops'
21 : 'mixed crops'
22 : 'background'
value_weights:
default: 1
default_exceptions:
per_modality_exceptions:
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061# SLURM
paths :
out_folder: '../'
out_model_name: 'FLAIR-HUB_LPIS-F_utae'
train_csv: '../TRAIN_FLAIR-INC.csv'
val_csv: '../VALID_FLAIR-INC.csv'
test_csv: '../TEST_FLAIR-INC.csv'
global_mtd_folder: '../GLOBAL_ALL_MTD/'
ckpt_model_path: ''
tasks:
train: True
train_tasks:
init_weights_only_from_ckpt: False
resume_training_from_ckpt: False
predict: True
write_files: False
georeferencing_output: False
metrics_only: False
hyperparams:
num_epochs: 150
batch_size: 5
seed: 2025
learning_rate: 0.00005
optimizer: adamw #sgd, adam, adamw
optim_weight_decay: 0.01
optim_betas: [0.9, 0.999]
scheduler: one_cycle_lr # [one_cycle_lr, reduce_on_plateau, cycle_then_plateau]
warmup_fraction: 0.2 #if using one_cycle_lr. [0-1]
plateau_patience: 5
hardware:
accelerator: 'gpu'
num_nodes: 6
gpus_per_node: 4
strategy: 'ddp_find_unused_parameters_true'
num_workers: 10
saving:
ckpt_save_also_last: True
ckpt_weights_only: False
ckpt_monitor: 'val_miou'
ckpt_monitor_mode: 'max'
ckpt_earlystopping_patience: 20
cp_csv_and_conf_to_output: True
enable_progress_bar: True
progress_rate: 10
ckpt_verbose: True
verbose_config: Falseconfigs_train/config_modalities.yamlAdded+65
configs_train/config_models.yamlAdded+23
configs_train/config_supervision.yamlAdded+37
configs_train/config_task.yamlAdded+61