diff --git a/configs/dataset/spacenet7.yaml b/configs/dataset/spacenet7.yaml index 4f34b0f..7775aa7 100644 --- a/configs/dataset/spacenet7.yaml +++ b/configs/dataset/spacenet7.yaml @@ -5,7 +5,7 @@ download_url: https://drive.google.com/uc?id=1BADSEjxYKFZZlM-tEkRUfHvHi5XdaVV9 auto_download: True img_size: 256 # the image size is used to tile the SpaceNet 7 images (1024, 1024) -domain_shift: False +domain_shift: True # parameters for within-scene splits (no domain shift) i_split: 768 j_split: 512 diff --git a/configs/dataset/spacenet7_domainshift.yaml b/configs/dataset/spacenet7_domainshift.yaml deleted file mode 100644 index 7775aa7..0000000 --- a/configs/dataset/spacenet7_domainshift.yaml +++ /dev/null @@ -1,45 +0,0 @@ -_target_: pangaea.datasets.spacenet7.SN7MAPPING -dataset_name: SN7MAPPING -root_path: ./data/spacenet7 -download_url: https://drive.google.com/uc?id=1BADSEjxYKFZZlM-tEkRUfHvHi5XdaVV9 -auto_download: True - -img_size: 256 # the image size is used to tile the SpaceNet 7 images (1024, 1024) -domain_shift: True -# parameters for within-scene splits (no domain shift) -i_split: 768 -j_split: 512 - -multi_temporal: False -multi_modal: False - -# classes -ignore_index: -1 -num_classes: 1 -classes: - - Background - - Building -distribution: - - 0.92530769 - - 0.07469231 - -# data stats -bands: - optical: - - B4 # Band 1 (Red) - - B3 # Band 2 (Green) - - B2 # Band 3 (Blue) -data_mean: - optical: - - 121.826 - - 106.52838 - - 78.372116 -data_std: - optical: - - 56.717068 - - 44.517075 - - 40.451515 -data_min: - optical: [0.0, 0.0, 0.0] -data_max: - optical: [255.0, 255.0, 255.0] \ No newline at end of file diff --git a/configs/dataset/spacenet7cd.yaml b/configs/dataset/spacenet7cd.yaml index f51c734..7d0dee5 100644 --- a/configs/dataset/spacenet7cd.yaml +++ b/configs/dataset/spacenet7cd.yaml @@ -5,7 +5,7 @@ download_url: https://drive.google.com/uc?id=1BADSEjxYKFZZlM-tEkRUfHvHi5XdaVV9 auto_download: True img_size: 256 # the image size is used to tile the SpaceNet 7 images (1024, 1024) -domain_shift: False +domain_shift: True # parameters for within-scene splits (no domain shift) i_split: 768 j_split: 512 diff --git a/configs/dataset/spacenet7cd_domainshift.yaml b/configs/dataset/spacenet7cd_domainshift.yaml deleted file mode 100644 index 7d0dee5..0000000 --- a/configs/dataset/spacenet7cd_domainshift.yaml +++ /dev/null @@ -1,48 +0,0 @@ -_target_: pangaea.datasets.spacenet7.SN7CD -dataset_name: SN7CD -root_path: ./data/spacenet7 -download_url: https://drive.google.com/uc?id=1BADSEjxYKFZZlM-tEkRUfHvHi5XdaVV9 -auto_download: True - -img_size: 256 # the image size is used to tile the SpaceNet 7 images (1024, 1024) -domain_shift: True -# parameters for within-scene splits (no domain shift) -i_split: 768 -j_split: 512 - -multi_temporal: 2 -multi_modal: False - -dataset_multiplier: 1 # multiplies sample in dataset during training -minimum_temporal_gap: 5 - -# classes -ignore_index: -1 -num_classes: 1 -classes: - - No Change - - Change -distribution: # TODO: update for CD - - 0.92530769 - - 0.07469231 - -# data stats -bands: - optical: - - B4 # Band 1 (Red) - - B3 # Band 2 (Green) - - B2 # Band 3 (Blue) -data_mean: - optical: - - 121.826 - - 106.52838 - - 78.372116 -data_std: - optical: - - 56.717068 - - 44.517075 - - 40.451515 -data_min: - optical: [0.0, 0.0, 0.0] -data_max: - optical: [255.0, 255.0, 255.0] \ No newline at end of file diff --git a/configs/task/change_detection.yaml b/configs/task/change_detection.yaml index 179e85e..b41224a 100644 --- a/configs/task/change_detection.yaml +++ b/configs/task/change_detection.yaml @@ -16,7 +16,7 @@ trainer: ckpt_interval: 20 eval_interval: 5 log_interval: 5 - best_metric_key: IoU + best_metric_key: mIoU use_wandb: ${use_wandb} evaluator: