Add composed sicd_sar frozen seed-234 configs (CROMA/DOFA/TerraMind) + SHA256SUMS
Browse files- correction_bundle/sicd_sar_configs/SHA256SUMS.txt +4 -0
- correction_bundle/sicd_sar_configs/SICD__croma_sar__DUMPED_from_running_retrain.yaml +150 -0
- correction_bundle/sicd_sar_configs/SICD__croma_sar__frozen_seed234.yaml +150 -0
- correction_bundle/sicd_sar_configs/SICD__dofa__frozen_seed234.yaml +180 -0
- correction_bundle/sicd_sar_configs/SICD__terramind_large_sar__frozen_seed234.yaml +153 -0
correction_bundle/sicd_sar_configs/SHA256SUMS.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
14061626ac58ce73602caed420d57af769e25e497fb5d8a4ed8f5b23c85ea068 SICD__croma_sar__DUMPED_from_running_retrain.yaml
|
| 2 |
+
0a0827c5dbd1b561fd9fea30e5257e51acb443c9eb595aaa7a3027b515cf7724 SICD__croma_sar__frozen_seed234.yaml
|
| 3 |
+
a5546e6bac8f22de201eebfc500359d4fdc26d13ef7eda17e3621ab685c68958 SICD__dofa__frozen_seed234.yaml
|
| 4 |
+
f48b83bde97ccf8b9cf0cd687734991524fb7d423eaaf1cdb80366e450c53017 SICD__terramind_large_sar__frozen_seed234.yaml
|
correction_bundle/sicd_sar_configs/SICD__croma_sar__DUMPED_from_running_retrain.yaml
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task:
|
| 2 |
+
trainer:
|
| 3 |
+
_target_: pangaea.engine.trainer.SegTrainer
|
| 4 |
+
model: null
|
| 5 |
+
train_loader: null
|
| 6 |
+
optimizer: null
|
| 7 |
+
lr_scheduler: null
|
| 8 |
+
evaluator: null
|
| 9 |
+
exp_dir: null
|
| 10 |
+
device: null
|
| 11 |
+
criterion: null
|
| 12 |
+
n_epochs: 80
|
| 13 |
+
precision: fp32
|
| 14 |
+
ckpt_interval: 20
|
| 15 |
+
eval_interval: 5
|
| 16 |
+
log_interval: 5
|
| 17 |
+
best_metric_key: mIoU
|
| 18 |
+
use_wandb: ${use_wandb}
|
| 19 |
+
evaluator:
|
| 20 |
+
_target_: pangaea.engine.evaluator.SegEvaluator
|
| 21 |
+
val_loader: null
|
| 22 |
+
exp_dir: null
|
| 23 |
+
device: null
|
| 24 |
+
use_wandb: ${use_wandb}
|
| 25 |
+
inference_mode: sliding
|
| 26 |
+
sliding_inference_batch: 8
|
| 27 |
+
dataset:
|
| 28 |
+
_target_: pangaea.datasets.sicd_tiled.SICDTiled
|
| 29 |
+
dataset_name: SICD
|
| 30 |
+
root_path: /media/turtle-ssd/users/skaushik/Cryo-Data/Benchmark/SICD
|
| 31 |
+
download_url: null
|
| 32 |
+
auto_download: false
|
| 33 |
+
modality: sar
|
| 34 |
+
img_size: 512
|
| 35 |
+
multi_temporal: false
|
| 36 |
+
multi_modal: false
|
| 37 |
+
ignore_index: 255
|
| 38 |
+
num_classes: 6
|
| 39 |
+
classes:
|
| 40 |
+
- open_water
|
| 41 |
+
- new_ice
|
| 42 |
+
- young_ice
|
| 43 |
+
- thin_first_year_ice
|
| 44 |
+
- thick_first_year_ice
|
| 45 |
+
- old_ice
|
| 46 |
+
distribution:
|
| 47 |
+
- 0.331
|
| 48 |
+
- 0.011
|
| 49 |
+
- 0.023
|
| 50 |
+
- 0.015
|
| 51 |
+
- 0.168
|
| 52 |
+
- 0.451
|
| 53 |
+
bands:
|
| 54 |
+
sar:
|
| 55 |
+
- VV
|
| 56 |
+
- VH
|
| 57 |
+
data_mean:
|
| 58 |
+
sar:
|
| 59 |
+
- -0.16381396
|
| 60 |
+
- -0.22024433
|
| 61 |
+
data_std:
|
| 62 |
+
sar:
|
| 63 |
+
- 0.61435765
|
| 64 |
+
- 0.37416646
|
| 65 |
+
data_min:
|
| 66 |
+
sar:
|
| 67 |
+
- -30.0
|
| 68 |
+
- -35.0
|
| 69 |
+
data_max:
|
| 70 |
+
sar:
|
| 71 |
+
- 5.0
|
| 72 |
+
- 0.0
|
| 73 |
+
encoder:
|
| 74 |
+
_target_: pangaea.encoders.croma_encoder.CROMA_SAR_Encoder
|
| 75 |
+
encoder_weights: ./pretrained_models/CROMA_large.pt
|
| 76 |
+
download_url: https://huggingface.co/antofuller/CROMA/resolve/main/CROMA_large.pt
|
| 77 |
+
input_size: 120
|
| 78 |
+
size: large
|
| 79 |
+
input_bands:
|
| 80 |
+
sar:
|
| 81 |
+
- VV
|
| 82 |
+
- VH
|
| 83 |
+
output_layers:
|
| 84 |
+
- 3
|
| 85 |
+
- 5
|
| 86 |
+
- 7
|
| 87 |
+
- 11
|
| 88 |
+
output_dim: 1024
|
| 89 |
+
decoder:
|
| 90 |
+
_target_: pangaea.decoders.upernet.SegUPerNet
|
| 91 |
+
channels: 512
|
| 92 |
+
encoder: null
|
| 93 |
+
num_classes: ${dataset.num_classes}
|
| 94 |
+
finetune: ${finetune}
|
| 95 |
+
preprocessing:
|
| 96 |
+
train:
|
| 97 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 98 |
+
preprocessor_cfg:
|
| 99 |
+
- _target_: pangaea.engine.data_preprocessor.RandomCropToEncoder
|
| 100 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 101 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 102 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 103 |
+
val:
|
| 104 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 105 |
+
preprocessor_cfg:
|
| 106 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 107 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 108 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 109 |
+
test:
|
| 110 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 111 |
+
preprocessor_cfg:
|
| 112 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 113 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 114 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 115 |
+
criterion:
|
| 116 |
+
_target_: torch.nn.CrossEntropyLoss
|
| 117 |
+
ignore_index: ${dataset.ignore_index}
|
| 118 |
+
lr_scheduler:
|
| 119 |
+
_target_: pangaea.utils.schedulers.MultiStepLR
|
| 120 |
+
optimizer: null
|
| 121 |
+
total_iters: null
|
| 122 |
+
lr_milestones:
|
| 123 |
+
- 0.6
|
| 124 |
+
- 0.9
|
| 125 |
+
optimizer:
|
| 126 |
+
_target_: torch.optim.AdamW
|
| 127 |
+
params: null
|
| 128 |
+
lr: 0.0001
|
| 129 |
+
betas:
|
| 130 |
+
- 0.9
|
| 131 |
+
- 0.999
|
| 132 |
+
weight_decay: 0.05
|
| 133 |
+
train: true
|
| 134 |
+
work_dir: /media/turtle-ssd/users/skaushik/Cryo-Data/Benchmark/SICD/results/experiments/frozen_fix_234/croma_sar
|
| 135 |
+
seed: 234
|
| 136 |
+
use_wandb: false
|
| 137 |
+
wandb_run_id: null
|
| 138 |
+
num_workers: 8
|
| 139 |
+
batch_size: 8
|
| 140 |
+
test_num_workers: 4
|
| 141 |
+
test_batch_size: 1
|
| 142 |
+
finetune: false
|
| 143 |
+
ckpt_dir: null
|
| 144 |
+
limited_label_train: 1
|
| 145 |
+
limited_label_val: 1
|
| 146 |
+
limited_label_strategy: stratified
|
| 147 |
+
stratification_bins: 3
|
| 148 |
+
data_replicate: 1
|
| 149 |
+
val_data_replicate: 1
|
| 150 |
+
use_final_ckpt: false
|
correction_bundle/sicd_sar_configs/SICD__croma_sar__frozen_seed234.yaml
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task:
|
| 2 |
+
trainer:
|
| 3 |
+
_target_: pangaea.engine.trainer.SegTrainer
|
| 4 |
+
model: null
|
| 5 |
+
train_loader: null
|
| 6 |
+
optimizer: null
|
| 7 |
+
lr_scheduler: null
|
| 8 |
+
evaluator: null
|
| 9 |
+
exp_dir: null
|
| 10 |
+
device: null
|
| 11 |
+
criterion: null
|
| 12 |
+
n_epochs: 80
|
| 13 |
+
precision: fp32
|
| 14 |
+
ckpt_interval: 20
|
| 15 |
+
eval_interval: 5
|
| 16 |
+
log_interval: 5
|
| 17 |
+
best_metric_key: mIoU
|
| 18 |
+
use_wandb: ${use_wandb}
|
| 19 |
+
evaluator:
|
| 20 |
+
_target_: pangaea.engine.evaluator.SegEvaluator
|
| 21 |
+
val_loader: null
|
| 22 |
+
exp_dir: null
|
| 23 |
+
device: null
|
| 24 |
+
use_wandb: ${use_wandb}
|
| 25 |
+
inference_mode: sliding
|
| 26 |
+
sliding_inference_batch: 8
|
| 27 |
+
dataset:
|
| 28 |
+
_target_: pangaea.datasets.sicd_tiled.SICDTiled
|
| 29 |
+
dataset_name: SICD
|
| 30 |
+
root_path: /media/turtle-ssd/users/skaushik/Cryo-Data/Benchmark/SICD
|
| 31 |
+
download_url: null
|
| 32 |
+
auto_download: false
|
| 33 |
+
modality: sar
|
| 34 |
+
img_size: 512
|
| 35 |
+
multi_temporal: false
|
| 36 |
+
multi_modal: false
|
| 37 |
+
ignore_index: 255
|
| 38 |
+
num_classes: 6
|
| 39 |
+
classes:
|
| 40 |
+
- open_water
|
| 41 |
+
- new_ice
|
| 42 |
+
- young_ice
|
| 43 |
+
- thin_first_year_ice
|
| 44 |
+
- thick_first_year_ice
|
| 45 |
+
- old_ice
|
| 46 |
+
distribution:
|
| 47 |
+
- 0.331
|
| 48 |
+
- 0.011
|
| 49 |
+
- 0.023
|
| 50 |
+
- 0.015
|
| 51 |
+
- 0.168
|
| 52 |
+
- 0.451
|
| 53 |
+
bands:
|
| 54 |
+
sar:
|
| 55 |
+
- VV
|
| 56 |
+
- VH
|
| 57 |
+
data_mean:
|
| 58 |
+
sar:
|
| 59 |
+
- -0.16381396
|
| 60 |
+
- -0.22024433
|
| 61 |
+
data_std:
|
| 62 |
+
sar:
|
| 63 |
+
- 0.61435765
|
| 64 |
+
- 0.37416646
|
| 65 |
+
data_min:
|
| 66 |
+
sar:
|
| 67 |
+
- -30.0
|
| 68 |
+
- -35.0
|
| 69 |
+
data_max:
|
| 70 |
+
sar:
|
| 71 |
+
- 5.0
|
| 72 |
+
- 0.0
|
| 73 |
+
encoder:
|
| 74 |
+
_target_: pangaea.encoders.croma_encoder.CROMA_SAR_Encoder
|
| 75 |
+
encoder_weights: ./pretrained_models/CROMA_large.pt
|
| 76 |
+
download_url: https://huggingface.co/antofuller/CROMA/resolve/main/CROMA_large.pt
|
| 77 |
+
input_size: 120
|
| 78 |
+
size: large
|
| 79 |
+
input_bands:
|
| 80 |
+
sar:
|
| 81 |
+
- VV
|
| 82 |
+
- VH
|
| 83 |
+
output_layers:
|
| 84 |
+
- 3
|
| 85 |
+
- 5
|
| 86 |
+
- 7
|
| 87 |
+
- 11
|
| 88 |
+
output_dim: 1024
|
| 89 |
+
decoder:
|
| 90 |
+
_target_: pangaea.decoders.upernet.SegUPerNet
|
| 91 |
+
channels: 512
|
| 92 |
+
encoder: null
|
| 93 |
+
num_classes: ${dataset.num_classes}
|
| 94 |
+
finetune: ${finetune}
|
| 95 |
+
preprocessing:
|
| 96 |
+
train:
|
| 97 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 98 |
+
preprocessor_cfg:
|
| 99 |
+
- _target_: pangaea.engine.data_preprocessor.RandomCropToEncoder
|
| 100 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 101 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 102 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 103 |
+
val:
|
| 104 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 105 |
+
preprocessor_cfg:
|
| 106 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 107 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 108 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 109 |
+
test:
|
| 110 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 111 |
+
preprocessor_cfg:
|
| 112 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 113 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 114 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 115 |
+
criterion:
|
| 116 |
+
_target_: torch.nn.CrossEntropyLoss
|
| 117 |
+
ignore_index: ${dataset.ignore_index}
|
| 118 |
+
lr_scheduler:
|
| 119 |
+
_target_: pangaea.utils.schedulers.MultiStepLR
|
| 120 |
+
optimizer: null
|
| 121 |
+
total_iters: null
|
| 122 |
+
lr_milestones:
|
| 123 |
+
- 0.6
|
| 124 |
+
- 0.9
|
| 125 |
+
optimizer:
|
| 126 |
+
_target_: torch.optim.AdamW
|
| 127 |
+
params: null
|
| 128 |
+
lr: 0.0001
|
| 129 |
+
betas:
|
| 130 |
+
- 0.9
|
| 131 |
+
- 0.999
|
| 132 |
+
weight_decay: 0.05
|
| 133 |
+
train: true
|
| 134 |
+
work_dir: SET_PER_RUN
|
| 135 |
+
seed: 234
|
| 136 |
+
use_wandb: false
|
| 137 |
+
wandb_run_id: null
|
| 138 |
+
num_workers: 8
|
| 139 |
+
batch_size: 8
|
| 140 |
+
test_num_workers: 4
|
| 141 |
+
test_batch_size: 1
|
| 142 |
+
finetune: false
|
| 143 |
+
ckpt_dir: null
|
| 144 |
+
limited_label_train: 1
|
| 145 |
+
limited_label_val: 1
|
| 146 |
+
limited_label_strategy: stratified
|
| 147 |
+
stratification_bins: 3
|
| 148 |
+
data_replicate: 1
|
| 149 |
+
val_data_replicate: 1
|
| 150 |
+
use_final_ckpt: false
|
correction_bundle/sicd_sar_configs/SICD__dofa__frozen_seed234.yaml
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task:
|
| 2 |
+
trainer:
|
| 3 |
+
_target_: pangaea.engine.trainer.SegTrainer
|
| 4 |
+
model: null
|
| 5 |
+
train_loader: null
|
| 6 |
+
optimizer: null
|
| 7 |
+
lr_scheduler: null
|
| 8 |
+
evaluator: null
|
| 9 |
+
exp_dir: null
|
| 10 |
+
device: null
|
| 11 |
+
criterion: null
|
| 12 |
+
n_epochs: 80
|
| 13 |
+
precision: fp32
|
| 14 |
+
ckpt_interval: 20
|
| 15 |
+
eval_interval: 5
|
| 16 |
+
log_interval: 5
|
| 17 |
+
best_metric_key: mIoU
|
| 18 |
+
use_wandb: ${use_wandb}
|
| 19 |
+
evaluator:
|
| 20 |
+
_target_: pangaea.engine.evaluator.SegEvaluator
|
| 21 |
+
val_loader: null
|
| 22 |
+
exp_dir: null
|
| 23 |
+
device: null
|
| 24 |
+
use_wandb: ${use_wandb}
|
| 25 |
+
inference_mode: sliding
|
| 26 |
+
sliding_inference_batch: 8
|
| 27 |
+
dataset:
|
| 28 |
+
_target_: pangaea.datasets.sicd_tiled.SICDTiled
|
| 29 |
+
dataset_name: SICD
|
| 30 |
+
root_path: /media/turtle-ssd/users/skaushik/Cryo-Data/Benchmark/SICD
|
| 31 |
+
download_url: null
|
| 32 |
+
auto_download: false
|
| 33 |
+
modality: sar
|
| 34 |
+
img_size: 512
|
| 35 |
+
multi_temporal: false
|
| 36 |
+
multi_modal: false
|
| 37 |
+
ignore_index: 255
|
| 38 |
+
num_classes: 6
|
| 39 |
+
classes:
|
| 40 |
+
- open_water
|
| 41 |
+
- new_ice
|
| 42 |
+
- young_ice
|
| 43 |
+
- thin_first_year_ice
|
| 44 |
+
- thick_first_year_ice
|
| 45 |
+
- old_ice
|
| 46 |
+
distribution:
|
| 47 |
+
- 0.331
|
| 48 |
+
- 0.011
|
| 49 |
+
- 0.023
|
| 50 |
+
- 0.015
|
| 51 |
+
- 0.168
|
| 52 |
+
- 0.451
|
| 53 |
+
bands:
|
| 54 |
+
sar:
|
| 55 |
+
- VV
|
| 56 |
+
- VH
|
| 57 |
+
data_mean:
|
| 58 |
+
sar:
|
| 59 |
+
- -0.16381396
|
| 60 |
+
- -0.22024433
|
| 61 |
+
data_std:
|
| 62 |
+
sar:
|
| 63 |
+
- 0.61435765
|
| 64 |
+
- 0.37416646
|
| 65 |
+
data_min:
|
| 66 |
+
sar:
|
| 67 |
+
- -30.0
|
| 68 |
+
- -35.0
|
| 69 |
+
data_max:
|
| 70 |
+
sar:
|
| 71 |
+
- 5.0
|
| 72 |
+
- 0.0
|
| 73 |
+
encoder:
|
| 74 |
+
_target_: pangaea.encoders.dofa_encoder.DOFA_Encoder
|
| 75 |
+
encoder_weights: ./pretrained_models/DOFA_ViT_base_e100.pth
|
| 76 |
+
download_url: https://huggingface.co/XShadow/DOFA/resolve/main/DOFA_ViT_base_e100.pth
|
| 77 |
+
embed_dim: 768
|
| 78 |
+
input_size: 224
|
| 79 |
+
patch_size: 16
|
| 80 |
+
depth: 12
|
| 81 |
+
num_heads: 12
|
| 82 |
+
mlp_ratio: 4
|
| 83 |
+
use_norm: false
|
| 84 |
+
input_bands: ${dataset.bands}
|
| 85 |
+
wave_list:
|
| 86 |
+
optical:
|
| 87 |
+
B1: 0.44
|
| 88 |
+
B2: 0.49
|
| 89 |
+
B3: 0.56
|
| 90 |
+
B4: 0.665
|
| 91 |
+
B5: 0.705
|
| 92 |
+
B6: 0.74
|
| 93 |
+
B7: 0.783
|
| 94 |
+
B8: 0.832
|
| 95 |
+
B8A: 0.864
|
| 96 |
+
B9: 0.945
|
| 97 |
+
B10: 1.373
|
| 98 |
+
B11: 1.61
|
| 99 |
+
B12: 2.2
|
| 100 |
+
NDWI: 0.49
|
| 101 |
+
NDRI: 0.49
|
| 102 |
+
SLOPE: 0.49
|
| 103 |
+
ELEVATION: 0.49
|
| 104 |
+
VELOCITY: 0.49
|
| 105 |
+
sar:
|
| 106 |
+
VV: 3.75
|
| 107 |
+
VH: 3.75
|
| 108 |
+
ASC_VV: 3.75
|
| 109 |
+
ASC_VH: 3.75
|
| 110 |
+
DSC_VV: 3.75
|
| 111 |
+
DSC_VH: 3.75
|
| 112 |
+
VV-VH: 3.75
|
| 113 |
+
output_layers:
|
| 114 |
+
- 3
|
| 115 |
+
- 5
|
| 116 |
+
- 7
|
| 117 |
+
- 11
|
| 118 |
+
output_dim: 768
|
| 119 |
+
decoder:
|
| 120 |
+
_target_: pangaea.decoders.upernet.SegUPerNet
|
| 121 |
+
channels: 512
|
| 122 |
+
encoder: null
|
| 123 |
+
num_classes: ${dataset.num_classes}
|
| 124 |
+
finetune: ${finetune}
|
| 125 |
+
preprocessing:
|
| 126 |
+
train:
|
| 127 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 128 |
+
preprocessor_cfg:
|
| 129 |
+
- _target_: pangaea.engine.data_preprocessor.RandomCropToEncoder
|
| 130 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 131 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 132 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 133 |
+
val:
|
| 134 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 135 |
+
preprocessor_cfg:
|
| 136 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 137 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 138 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 139 |
+
test:
|
| 140 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 141 |
+
preprocessor_cfg:
|
| 142 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 143 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 144 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 145 |
+
criterion:
|
| 146 |
+
_target_: torch.nn.CrossEntropyLoss
|
| 147 |
+
ignore_index: ${dataset.ignore_index}
|
| 148 |
+
lr_scheduler:
|
| 149 |
+
_target_: pangaea.utils.schedulers.MultiStepLR
|
| 150 |
+
optimizer: null
|
| 151 |
+
total_iters: null
|
| 152 |
+
lr_milestones:
|
| 153 |
+
- 0.6
|
| 154 |
+
- 0.9
|
| 155 |
+
optimizer:
|
| 156 |
+
_target_: torch.optim.AdamW
|
| 157 |
+
params: null
|
| 158 |
+
lr: 0.0001
|
| 159 |
+
betas:
|
| 160 |
+
- 0.9
|
| 161 |
+
- 0.999
|
| 162 |
+
weight_decay: 0.05
|
| 163 |
+
train: true
|
| 164 |
+
work_dir: SET_PER_RUN
|
| 165 |
+
seed: 234
|
| 166 |
+
use_wandb: false
|
| 167 |
+
wandb_run_id: null
|
| 168 |
+
num_workers: 8
|
| 169 |
+
batch_size: 8
|
| 170 |
+
test_num_workers: 4
|
| 171 |
+
test_batch_size: 1
|
| 172 |
+
finetune: false
|
| 173 |
+
ckpt_dir: null
|
| 174 |
+
limited_label_train: 1
|
| 175 |
+
limited_label_val: 1
|
| 176 |
+
limited_label_strategy: stratified
|
| 177 |
+
stratification_bins: 3
|
| 178 |
+
data_replicate: 1
|
| 179 |
+
val_data_replicate: 1
|
| 180 |
+
use_final_ckpt: false
|
correction_bundle/sicd_sar_configs/SICD__terramind_large_sar__frozen_seed234.yaml
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
task:
|
| 2 |
+
trainer:
|
| 3 |
+
_target_: pangaea.engine.trainer.SegTrainer
|
| 4 |
+
model: null
|
| 5 |
+
train_loader: null
|
| 6 |
+
optimizer: null
|
| 7 |
+
lr_scheduler: null
|
| 8 |
+
evaluator: null
|
| 9 |
+
exp_dir: null
|
| 10 |
+
device: null
|
| 11 |
+
criterion: null
|
| 12 |
+
n_epochs: 80
|
| 13 |
+
precision: fp32
|
| 14 |
+
ckpt_interval: 20
|
| 15 |
+
eval_interval: 5
|
| 16 |
+
log_interval: 5
|
| 17 |
+
best_metric_key: mIoU
|
| 18 |
+
use_wandb: ${use_wandb}
|
| 19 |
+
evaluator:
|
| 20 |
+
_target_: pangaea.engine.evaluator.SegEvaluator
|
| 21 |
+
val_loader: null
|
| 22 |
+
exp_dir: null
|
| 23 |
+
device: null
|
| 24 |
+
use_wandb: ${use_wandb}
|
| 25 |
+
inference_mode: sliding
|
| 26 |
+
sliding_inference_batch: 8
|
| 27 |
+
dataset:
|
| 28 |
+
_target_: pangaea.datasets.sicd_tiled.SICDTiled
|
| 29 |
+
dataset_name: SICD
|
| 30 |
+
root_path: /media/turtle-ssd/users/skaushik/Cryo-Data/Benchmark/SICD
|
| 31 |
+
download_url: null
|
| 32 |
+
auto_download: false
|
| 33 |
+
modality: sar
|
| 34 |
+
img_size: 512
|
| 35 |
+
multi_temporal: false
|
| 36 |
+
multi_modal: false
|
| 37 |
+
ignore_index: 255
|
| 38 |
+
num_classes: 6
|
| 39 |
+
classes:
|
| 40 |
+
- open_water
|
| 41 |
+
- new_ice
|
| 42 |
+
- young_ice
|
| 43 |
+
- thin_first_year_ice
|
| 44 |
+
- thick_first_year_ice
|
| 45 |
+
- old_ice
|
| 46 |
+
distribution:
|
| 47 |
+
- 0.331
|
| 48 |
+
- 0.011
|
| 49 |
+
- 0.023
|
| 50 |
+
- 0.015
|
| 51 |
+
- 0.168
|
| 52 |
+
- 0.451
|
| 53 |
+
bands:
|
| 54 |
+
sar:
|
| 55 |
+
- VV
|
| 56 |
+
- VH
|
| 57 |
+
data_mean:
|
| 58 |
+
sar:
|
| 59 |
+
- -0.16381396
|
| 60 |
+
- -0.22024433
|
| 61 |
+
data_std:
|
| 62 |
+
sar:
|
| 63 |
+
- 0.61435765
|
| 64 |
+
- 0.37416646
|
| 65 |
+
data_min:
|
| 66 |
+
sar:
|
| 67 |
+
- -30.0
|
| 68 |
+
- -35.0
|
| 69 |
+
data_max:
|
| 70 |
+
sar:
|
| 71 |
+
- 5.0
|
| 72 |
+
- 0.0
|
| 73 |
+
encoder:
|
| 74 |
+
_target_: pangaea.encoders.terramind_encoder.terramind_v1_large
|
| 75 |
+
encoder_weights: ./pretrained_models/TerraMind_v1_large.pt
|
| 76 |
+
download_url: null
|
| 77 |
+
input_size: 224
|
| 78 |
+
patch_size: 16
|
| 79 |
+
merge_method: mean
|
| 80 |
+
modalities:
|
| 81 |
+
- S1GRD
|
| 82 |
+
input_bands:
|
| 83 |
+
sar:
|
| 84 |
+
- VV
|
| 85 |
+
- VH
|
| 86 |
+
output_layers:
|
| 87 |
+
- 7
|
| 88 |
+
- 11
|
| 89 |
+
- 15
|
| 90 |
+
- 23
|
| 91 |
+
output_dim: 1024
|
| 92 |
+
decoder:
|
| 93 |
+
_target_: pangaea.decoders.upernet.SegUPerNet
|
| 94 |
+
channels: 512
|
| 95 |
+
encoder: null
|
| 96 |
+
num_classes: ${dataset.num_classes}
|
| 97 |
+
finetune: ${finetune}
|
| 98 |
+
preprocessing:
|
| 99 |
+
train:
|
| 100 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 101 |
+
preprocessor_cfg:
|
| 102 |
+
- _target_: pangaea.engine.data_preprocessor.RandomCropToEncoder
|
| 103 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 104 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 105 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 106 |
+
val:
|
| 107 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 108 |
+
preprocessor_cfg:
|
| 109 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 110 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 111 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 112 |
+
test:
|
| 113 |
+
_target_: pangaea.engine.data_preprocessor.Preprocessor
|
| 114 |
+
preprocessor_cfg:
|
| 115 |
+
- _target_: pangaea.engine.data_preprocessor.BandFilter
|
| 116 |
+
- _target_: pangaea.engine.data_preprocessor.NormalizeMeanStd
|
| 117 |
+
- _target_: pangaea.engine.data_preprocessor.BandPadding
|
| 118 |
+
criterion:
|
| 119 |
+
_target_: torch.nn.CrossEntropyLoss
|
| 120 |
+
ignore_index: ${dataset.ignore_index}
|
| 121 |
+
lr_scheduler:
|
| 122 |
+
_target_: pangaea.utils.schedulers.MultiStepLR
|
| 123 |
+
optimizer: null
|
| 124 |
+
total_iters: null
|
| 125 |
+
lr_milestones:
|
| 126 |
+
- 0.6
|
| 127 |
+
- 0.9
|
| 128 |
+
optimizer:
|
| 129 |
+
_target_: torch.optim.AdamW
|
| 130 |
+
params: null
|
| 131 |
+
lr: 0.0001
|
| 132 |
+
betas:
|
| 133 |
+
- 0.9
|
| 134 |
+
- 0.999
|
| 135 |
+
weight_decay: 0.05
|
| 136 |
+
train: true
|
| 137 |
+
work_dir: SET_PER_RUN
|
| 138 |
+
seed: 234
|
| 139 |
+
use_wandb: false
|
| 140 |
+
wandb_run_id: null
|
| 141 |
+
num_workers: 8
|
| 142 |
+
batch_size: 8
|
| 143 |
+
test_num_workers: 4
|
| 144 |
+
test_batch_size: 1
|
| 145 |
+
finetune: false
|
| 146 |
+
ckpt_dir: null
|
| 147 |
+
limited_label_train: 1
|
| 148 |
+
limited_label_val: 1
|
| 149 |
+
limited_label_strategy: stratified
|
| 150 |
+
stratification_bins: 3
|
| 151 |
+
data_replicate: 1
|
| 152 |
+
val_data_replicate: 1
|
| 153 |
+
use_final_ckpt: false
|