-
Notifications
You must be signed in to change notification settings - Fork 380
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize configuration files (#352)
* Reorganize configuration files * Undo changes to tests/conf files
- Loading branch information
1 parent
f69bdaf
commit 5136d81
Showing
43 changed files
with
166 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,21 @@ | ||
trainer: | ||
gpus: 1 # single GPU training | ||
gpus: 1 | ||
min_epochs: 10 | ||
max_epochs: 40 | ||
benchmark: True | ||
|
||
experiment: | ||
task: "bigearthnet" | ||
module: | ||
loss: "bce" | ||
classification_model: "resnet18" | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 6 | ||
weights: "random" | ||
in_channels: 14 | ||
datamodule: | ||
num_classes: 19 | ||
batch_size: 128 | ||
num_workers: 6 | ||
datamodule: | ||
root_dir: "data/bigearthnet" | ||
bands: "all" | ||
num_classes: ${experiment.module.num_classes} | ||
batch_size: 128 | ||
num_workers: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,35 @@ | ||
trainer: | ||
gpus: 1 # single GPU training | ||
gpus: 1 | ||
min_epochs: 20 | ||
max_epochs: 100 | ||
benchmark: True | ||
|
||
experiment: | ||
task: "chesapeake_cvpr" | ||
name: "chesapeake_cvpr_example" | ||
module: | ||
loss: "ce" # cross entropy loss | ||
loss: "ce" | ||
segmentation_model: "unet" | ||
encoder_name: "resnet18" | ||
encoder_weights: null # use ImageNet weight initialization | ||
encoder_weights: null | ||
encoder_output_stride: 16 | ||
learning_rate: 1e-2 | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 6 | ||
in_channels: 4 | ||
num_classes: 7 | ||
num_filters: 256 | ||
ignore_zeros: False | ||
imagenet_pretraining: True | ||
datamodule: | ||
batch_size: 64 | ||
num_workers: 6 | ||
root_dir: "data/chesapeake/cvpr" | ||
train_splits: | ||
- "de-train" | ||
val_splits: | ||
- "de-val" | ||
test_splits: | ||
- "de-test" | ||
patches_per_tile: 200 | ||
patch_size: 256 | ||
batch_size: 64 | ||
num_workers: 4 | ||
class_set: ${experiment.module.num_classes} | ||
use_prior_labels: False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
program: # These are the arguments that define how the train.py script works | ||
seed: 1337 | ||
overwrite: True | ||
|
||
trainer: | ||
gpus: 1 | ||
min_epochs: 15 | ||
experiment: | ||
task: cowc_counting | ||
name: cowc_counting_test | ||
module: | ||
model: resnet18 | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 2 | ||
pretrained: True | ||
datamodule: | ||
root_dir: "data/cowc_counting" | ||
seed: 0 | ||
batch_size: 32 | ||
num_workers: 4 | ||
|
||
trainer: | ||
min_epochs: 15 | ||
gpus: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
program: # These are the arguments that define how the train.py script works | ||
seed: 1337 | ||
overwrite: True | ||
|
||
trainer: | ||
gpus: 1 | ||
min_epochs: 15 | ||
experiment: | ||
task: "cyclone" | ||
name: cyclone_test | ||
name: "cyclone_test" | ||
module: | ||
model: "resnet18" | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 2 | ||
pretrained: True | ||
datamodule: | ||
root_dir: "data/cyclone" | ||
seed: 0 | ||
batch_size: 32 | ||
num_workers: 4 | ||
|
||
trainer: | ||
min_epochs: 15 | ||
gpus: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
experiment: | ||
task: "etci2021" | ||
module: | ||
loss: "ce" | ||
segmentation_model: "unet" | ||
encoder_name: "resnet18" | ||
encoder_weights: "imagenet" | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 6 | ||
in_channels: 7 | ||
num_classes: 2 | ||
ignore_zeros: True | ||
datamodule: | ||
root_dir: "data/etci2021" | ||
batch_size: 32 | ||
num_workers: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
experiment: | ||
task: "eurosat" | ||
module: | ||
loss: "ce" | ||
classification_model: "resnet18" | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 6 | ||
weights: "random" | ||
in_channels: 13 | ||
num_classes: 10 | ||
datamodule: | ||
root_dir: "data/eurosat" | ||
batch_size: 128 | ||
num_workers: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
trainer: | ||
gpus: 1 # single GPU training | ||
gpus: 1 | ||
min_epochs: 20 | ||
max_epochs: 100 | ||
benchmark: True | ||
|
||
experiment: | ||
task: "landcoverai" | ||
module: | ||
loss: "ce" | ||
segmentation_model: "deeplabv3+" | ||
segmentation_model: "unet" | ||
encoder_name: "resnet18" | ||
encoder_weights: null | ||
encoder_output_stride: 16 | ||
encoder_weights: "imagenet" | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 6 | ||
in_channels: 3 | ||
num_classes: 6 | ||
num_filters: 256 | ||
ignore_zeros: False | ||
datamodule: | ||
root_dir: "data/landcoverai" | ||
batch_size: 32 | ||
num_workers: 6 | ||
num_workers: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
program: # These are experiment level arguments | ||
experiment_name: naip_chesapeake_test | ||
program: | ||
experiment_name: "naip_chesapeake_test" | ||
overwrite: True | ||
naip_data_dir: data/naip | ||
chesapeake_data_dir: data/chesapeake | ||
|
||
trainer: # These are all the arguments that will be passed to the pl.Trainer | ||
trainer: | ||
min_epochs: 15 | ||
|
||
task: # These are all the arguments that will be used to create an appropriate task | ||
name: naipchesapeake | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 2 | ||
experiment: | ||
task: "naipchesapeake" | ||
module: | ||
loss: "ce" | ||
segmentation_model: "deeplabv3+" | ||
encoder_name: "resnet34" | ||
encoder_weights: "imagenet" | ||
encoder_output_stride: 16 | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 2 | ||
in_channels: 4 | ||
num_classes: 13 | ||
num_filters: 64 | ||
ignore_zeros: False | ||
datamodule: | ||
naip_root_dir: "data/naip" | ||
chesapeake_root_dir: "data/chesapeake/BAYWIDE" | ||
batch_size: 32 | ||
num_workers: 4 | ||
patch_size: 32 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
program: # These are experiment level arguments | ||
program: | ||
experiment_name: sen12ms_test | ||
overwrite: True | ||
|
||
trainer: # These are all the arguments that will be passed to the pl.Trainer | ||
trainer: | ||
min_epochs: 15 | ||
|
||
task: # These are all the arguments that will be used to create an appropriate task | ||
name: sen12ms | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 2 | ||
experiment: | ||
task: "sen12ms" | ||
module: | ||
loss: "ce" | ||
segmentation_model: "unet" | ||
encoder_name: "resnet18" | ||
encoder_weights: null | ||
encoder_output_stride: 16 | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 2 | ||
in_channels: 15 | ||
num_classes: 11 | ||
ignore_zeros: False | ||
datamodule: | ||
root_dir: "data/sen12ms" | ||
band_set: "all" | ||
batch_size: 32 | ||
num_workers: 4 | ||
seed: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
trainer: | ||
gpus: 1 # single GPU training | ||
gpus: 1 | ||
min_epochs: 10 | ||
max_epochs: 40 | ||
benchmark: True | ||
|
||
experiment: | ||
task: "so2sat" | ||
module: | ||
loss: "ce" | ||
classification_model: "resnet18" | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 6 | ||
weights: "random" | ||
in_channels: 3 | ||
num_classes: 17 | ||
datamodule: | ||
root_dir: "data/so2sat" | ||
batch_size: 128 | ||
num_workers: 6 | ||
num_workers: 4 | ||
bands: "rgb" | ||
unsupervised_mode: False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
experiment: | ||
task: "ucmerced" | ||
module: | ||
loss: "ce" | ||
classification_model: "resnet18" | ||
weights: null | ||
learning_rate: 1e-3 | ||
learning_rate_schedule_patience: 6 | ||
in_channels: 3 | ||
num_classes: 21 | ||
datamodule: | ||
root_dir: "data/ucmerced" | ||
batch_size: 128 | ||
num_workers: 4 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.