File size: 2,556 Bytes
1919121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
NAME: SEnSeIv2-SegFormerB2-alldata-ambiguous

#-------------
# Model options
#-------------
PATCH_SIZE: 512
SEnSeIv2: 'models/sensei-configs/senseiv2-medium.yaml'
MODEL_TYPE: 'Segformer'
SEGFORMER_CONFIG: 'nvidia/mit-b2'
RECOVERY_MODULE: false
CLASSES: 7
MULTIMODAL: false
NUM_CHANNELS: null # Set to null for sensor independent models

#----------------
# Training options (not needed for inference)
#----------------
EPOCHS: 105
BATCH_SIZE: 8
PHASES: [0, 1, 2, 75, 95, 110]
ACCUMULATE_STEPS: [1, 1, 1, 1, 1, 1]
LR: [0.000005, 0.00002, 0.0001, 0.00002, 0.00001, 0.000002]
EPSILON: 0.000001
WEIGHT_DECAY: 0.0001
L1_REG: 0
RECOVERY_WARMUP_STEPS: 10000
RECOVERY_LOSS_FACTOR: 1
LOSS: 'ambiguous_crossentropy_loss'

#-------------
# Data options
# Note: L7Irish and L8CCA are very large, so repeat other datasets to make up for it
# Training epochs will max out at 4000 steps, so repeating datasets beyond that just
# changes relative frequency of each dataset appearing. 
#-------------
TRAIN_DIRS:
  - '/home/ali/data/cloud-masking/processed/S2CS12/train'
  - '/home/ali/data/cloud-masking/processed/S2CS12/train' # Repeat to boost sampling frequency
  - '/home/ali/data/cloud-masking/processed/S2CS12/train'
  - '/home/ali/data/cloud-masking/processed/S2CS12/train'
  - '/home/ali/data/cloud-masking/processed/S2CS12/train'
  - '/home/ali/data/cloud-masking/processed/S2IRIS'
  - '/home/ali/data/cloud-masking/processed/S2IRIS'
  - '/home/ali/data/cloud-masking/processed/S2IRIS'
  - '/home/ali/data/cloud-masking/processed/S2IRIS'
  - '/home/ali/data/cloud-masking/processed/S2IRIS'
  - '/home/ali/data/cloud-masking/processed/S2KZ/train'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS-60m'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS-60m'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS-60m'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS-60m'
  - '/home/ali/data/cloud-masking/processed/L8SPARCS-60m'
  - '/home/ali/data/cloud-masking/processed/L8CCA'
  - '/home/ali/data/cloud-masking/processed/L7Irish'
  - '/home/ali/data/cloud-masking/processed/CP2'
VALID_DIRS:
  - '/home/ali/data/cloud-masking/processed/S2CS12/valid'
MIN_BANDS: 3
MAX_BANDS: 13