Skip to content

Commit

Permalink
Modify configs for multiclass and binary multisource
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaRom committed May 16, 2024
1 parent d9b2caa commit 563eef5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/dataset/test_ci_segmentation_binary_RGBL.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ dataset:
attribute_field: properties/class
attribute_values: [1]
class_name: # will follow in the next version
classes_dict: {'WAER':1, 'FORE':2, 'ROAI':3, 'BUIL':4}
classes_dict: {'BUIL':1}
class_weights:
ignore_index: 255
19 changes: 19 additions & 0 deletions config/dataset/test_ci_segmentation_multiclass_RGBL.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# @package _global_
dataset:
# dataset-wide
name:
raw_data_csv: ${general.raw_data_csv}
raw_data_dir: ${general.raw_data_dir}
download_data: False

# imagery
bands: [R,G,B]
dsm_dir: null

# ground truth
attribute_field: properties/class
attribute_values: [1]
class_name: # will follow in the next version
classes_dict: {'WAER':1, 'FORE':2, 'ROAI':3, 'BUIL':4}
class_weights:
ignore_index: 255
2 changes: 1 addition & 1 deletion config/gdl_config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defaults:
- optimizer: adamw
- callbacks: default_callbacks
- scheduler: plateau
- dataset: test_ci_segmentation_binary_RGBL
- dataset: test_ci_segmentation_binary
- augmentation: basic_augmentation_segmentation
- tracker: # set logger here or use command line (e.g. `python GDL.py tracker=mlflow`)
- visualization: default_visualization
Expand Down

0 comments on commit 563eef5

Please sign in to comment.