From af0a4a554f8b9cd19b038b2f5ffbbde245357f5a Mon Sep 17 00:00:00 2001 From: "Daniel.Frisinghelli" <daniel.frisinghelli@eurac.edu> Date: Thu, 4 Feb 2021 14:58:44 +0000 Subject: [PATCH] Fixed dataset dictionary. --- pysegcnn/plot/plot_config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pysegcnn/plot/plot_config.py b/pysegcnn/plot/plot_config.py index cc90e41..b6a0c37 100644 --- a/pysegcnn/plot/plot_config.py +++ b/pysegcnn/plot/plot_config.py @@ -34,11 +34,11 @@ DRIVE_PATH = pathlib.Path('/mnt/CEPH_PROJECTS/cci_snow/dfrisinghelli/Datasets') # DRIVE_PATH = pathlib.Path('/home/dfrisinghelli/Datasets') # name and paths to the datasets -# DATASETS = {'Sparcs': {'root_dir': DRIVE_PATH.joinpath('Sparcs'), - # 'merge_labels': {'Shadow_over_water': 'Shadow', - # 'Flooded': 'Land'}, - # 'gt_pattern': '(.*)mask\\.png'}, -DATASETS = {'Alcd': {'root_dir': DRIVE_PATH.joinpath('Alcd'), +DATASETS = {'Sparcs': {'root_dir': DRIVE_PATH.joinpath('Sparcs'), + 'merge_labels': {'Shadow_over_water': 'Shadow', + 'Flooded': 'Land'}, + 'gt_pattern': '(.*)mask\\.png'}, + 'Alcd': {'root_dir': DRIVE_PATH.joinpath('Alcd'), 'merge_labels': {'Cirrus': 'Cloud', 'Not_used': 'No_data'}, 'gt_pattern': '(.*)Labels\\.tif'} -- GitLab